FieldError
FieldError = 'blank' | 'not_selected' | 'invalid' | 'not_in_state' | 'invalid_characters' | 'contains_emoji' | 'too_long'What can be wrong with a value: the keys of Field.errors, and the code of a ValidationError.
| Error | Description |
|---|---|
blank | A required text field left empty |
not_selected | Nothing chosen in a required list |
invalid | Not the field's format, or not in its list |
not_in_state | A postcode not the state's (validate only) |
invalid_characters | A name with digits or symbols |
contains_emoji | Any field holding an emoji |
too_long | Longer than input.max_length |