Sequence Plugin
Stops running validators for a field as soon as one fails, preventing unnecessary checks.
Options
| Option | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Enable or disable sequential validation |
Playground
Notes
- Without
Sequence, all validators run regardless of earlier failures. - Particularly useful to prevent unnecessary
remoterequests when basic format validation fails. - Uses the
field-should-validatefilter internally; compatible withExcluded. - On the first validation run (before any previous results exist), the
element-validatedfilter ensures only the first failing validator's message is shown.