FormOptionsWithReason
ref / conversations / FormOptionsWithReason
Options to pass to a form field with an enhanced validation function that can provide a reason as to why validation has failed. Can be either a Form
If the validation function does not provide a reason, use Form
Type Parameters
C
ts
C extends Context
T
ts
T
R
ts
R
Type
ts
FormAction<C, T> | FormConfigWithReason<C, T, R>