ReadonlyfieldReadonlyidIdentity of the field instance
Unique per instance and fixed for its lifetime, but not reproducible: a server render and the client render that hydrates it produce different values. For an id that reaches the DOM, use stableId instead.
ReadonlyvalidatorComputederrorsError messages for the field
Regardless of isErrorReported, this value is always up-to-date.
ComputedhasWhether the field has errors
Regardless of isErrorReported, this value is always up-to-date.
Whether the field value is changed
ComputedisWhether the error states has been reported.
Check this value to determine if errors should be displayed to the user.
undefined - Validity is undetermined (not yet reported)false - Field is validtrue - Field is invalidWhether the field is touched.
A field becomes touched when the user interacts with it.
Id for associating a label with the field's form control
:Finalize the intermediate change if needed (usually triggered by onBlur)
ActionmarkMark the field as changed
It's usually triggered by onChange.
Default to "final"
ActionmarkMark the field as touched
It's usually triggered by onFocus.
ActionreportReport the errors of the field.
It will wait until the validation is up-to-date before reporting the errors.
Actionreset
Form field that tracks input state and validation errors
Key features: