setValidation()
Sets the validation mode for this form state.
setValidation(mode: FormState.ValidationMode): this;
Parameters
- mode — The validation mode to use
Return value
The form state object itself, for chaining
Related
class FormState
An object that contains form field data, with validation rules.type FormState.ValidationMode static
A type that determines how form field validation is triggered.
