Properties
children
children: ReactNode
Optional
disabledWhileSubmitting
disabledWhileSubmitting?: boolean
initialValues
initialValues: Values
onSubmit
onSubmit: ((values: Values) => void)
Type declaration
-
- (values: Values): void
-
Returns void
Optional
touchOnBlur
touchOnBlur?: boolean
Optional
touchOnChange
touchOnChange?: boolean
Optional
touchOnFocus
touchOnFocus?: boolean
Optional
validate
validate?: ((values: Values, fieldName?: DeepKeys<Values>) => Promise<Partial<Record<DeepKeys<Values>, string>>>)
Type declaration
-
- (values: Values, fieldName?: DeepKeys<Values>): Promise<Partial<Record<DeepKeys<Values>, string>>>
-
Parameters
-
values: Values
-
Optional
fieldName: DeepKeys<Values>
Returns Promise<Partial<Record<DeepKeys<Values>, string>>>
Optional
validateOnBlur
validateOnBlur?: boolean
Optional
validateOnChange
validateOnChange?: boolean
Optional
validateOnFocus
validateOnFocus?: boolean
Optional
validateOnMount
validateOnMount?: boolean
Optional
validateOnSubmit
validateOnSubmit?: boolean