IValidationFieldResult
interface
Form & Validation
Result object for a single validated field — pairs the field identifier with the list of error messages produced by failed 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
- Unique identifier of the field — matches the name or auto-generated id of the form control.
- errorMessagesrequiredArray<string>
- List of error messages produced by the failed validation rules for this field.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Collecting field results from form.validate()