IFormValidationResult

interface
Form & Input

Result of a full form validation — carries an overall valid flag and the per-field error details via IFieldValidationResult.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

valid
required
boolean
True when every registered field passed validation.
errors
required
IFieldValidationResult[]
Array of per-field validation results for fields that have errors.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Checking the validation result on submit

vue