We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5418105 commit 397920eCopy full SHA for 397920e
src/Field.tsx
@@ -82,7 +82,7 @@ export interface InternalFieldProps<Values = any> {
82
83
/** @private Pass context as prop instead of context api
84
* since class component can not get context in constructor */
85
- fieldContext: InternalFormInstance;
+ fieldContext?: InternalFormInstance;
86
}
87
88
export interface FieldProps<Values = any>
0 commit comments