values
An object that contains current form field values.
get values(): Readonly<Partial<Record<keyof TSchema, unknown>>>;
Notes
- Do not set field values here. Instead, use the FormState.set() method to update field values.
- These values are not (necessarily) valid, and are typed as
unknown. To validate form fields and get the result, use the validate() method. - Properties of this object can be bound, e.g. to display form fields elsewhere in the view.
Related
class FormState
An object that contains form field data, with validation rules.
