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 ContextT
ts
TR
ts
RType
ts
FormAction<C, T> | FormConfigWithReason<C, T, R>