Create a "Working Data" store to back a form or set of fields.
Pass an object describing your data "T
" with each value being one of:
- An inital value (required by default, uses default validation messages)
- a FieldOptions object, describing the field.
- Another ValidatedForm store
- A ValidatedFormArray store, to back an array.
ValidatedFormOptions
Validation and setup otions for a Working Data store. Each key can be:
- An inital value (required by default, uses default validation messages)
- a FieldOptions object, describing the field.
- Another ValidatedForm store
- A ValidatedFormArray store, to back an array.
ValidatedForm
Name
Description
Type
Connect a component to the data, for two way data binding.
The access the contained data directly
If modifications are currently frozen, (for example, by submitting the data).
All validation messages contained in the form.
Called before the first error is attempted to be focused.
Called whenever the data changes.
Called whenever validation has failed.
Severity
Templated
FieldChangeEvent
ValidationMessages
Name
Description
Type