The object that holds all error messages for attributes. This is generated whenever you call Form.isValid or Form.isInvalid.
The input's onChange
event handler. An exception will be raised if your
input doesn't have a name
attribute.
The form's onSubmit
handler. It calls preventDefault()
and delegates
the original event to the provided handleSubmit
param.
Run validations and return true
if any validation fails.
Run validations and return false
if any validation fails.
Reset the form's result.
values
to defaultValues
.errors
.validations
.Set form error messages. This can be useful to populate form errors out of HTTP responses.
Hold the form's values. This will be initialized with any defaultValues provided during useForm call.
Generated using TypeDoc
The form's default values. This is provided during the useForm call.