IFieldValidationResult
interface
Form & Input
Validation result for a single field — carries the field id and the list of error messages produced by its validation rules.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- idrequirednumber | string
- Identifier of the field that was validated (matches the id used when registering with IFormProvide).
- errorMessagesrequiredstring[]
- Array of error message strings produced by the field validation rules.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Reading per-field errors after form submission