FormOptions
Configuration options for form-level validation behavior.
This interface defines form-wide validation settings, particularly around pre-validation which allows the form to validate all fields and determine submission readiness before the user attempts to submit.
Usage:
val formOptions = FormOptions(
preValidation = true,
preValidationDelayOnMount = 300.milliseconds,
preValidationDelayOnChange = 250.milliseconds
)
Content copied to clipboard
Inheritors
Properties
Link copied to clipboard
Whether to enable pre-validation of the entire form. When enabled, the form continuously validates all fields to determine if submission is allowed.
Link copied to clipboard
The delay before pre-validation is triggered when any field value changes. This helps prevent excessive validation calls during rapid form interactions.
Link copied to clipboard
The delay before pre-validation is triggered when fields are added or removed. This helps avoid excessive validation calls during field structure changes.