Properties
getData
getData: (() => Promise<FieldValues>)
Type declaration
-
- (): Promise<FieldValues>
-
Returns Promise<FieldValues>
getTouchedFields
getTouchedFields: (() => Promise<string[]>)
Type declaration
-
- (): Promise<string[]>
-
Returns Promise<string[]>
onSubmit
onSubmit: ((e, isValid, values) => void)
Type declaration
-
- (e, isValid, values): void
-
Parameters
-
e: FormEvent<HTMLFormElement>
-
isValid: boolean
-
values: FieldValues
Returns void
setData
setData: ((newData) => Promise<void>)
Type declaration
-
- (newData): Promise<void>
-
Returns Promise<void>
setIsValid
setIsValid: ((value) => void)
Type declaration
-
- (value): void
-
Returns void
setTouchedFields
setTouchedFields: ((newTouchedFields) => Promise<void>)
Type declaration
-
- (newTouchedFields): Promise<void>
-
Parameters
-
newTouchedFields: string[]
Returns Promise<void>