FormBuilder
ref / conversations / FormBuilder
An object that fully specifies how to build a form field.
Contains as properties of Form
If the validation function can provide a reason as to why validation has failed, it is possible to use Form
Extends
ts
FormConfig<C, T>
Methods
validate
A function that validates a given context.
When validation succeeds, a value can be extracted from the context object. The result of the validation as well as the data extraction needs to be encoded using a Maybe type.