FieldValidators
interface exported by @mwillbanks/tuil-form.
interface
Public interface exported by @mwillbanks/tuil-form.
export interface FieldValidators<T> {
readonly change?: FieldValidator<T> | readonly FieldValidator<T>[];
readonly blur?: FieldValidator<T> | readonly FieldValidator<T>[];
readonly submit?: FieldValidator<T> | readonly FieldValidator<T>[];
readonly command?: FieldValidator<T> | readonly FieldValidator<T>[];
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
change | FieldValidator<T> | readonly FieldValidator<T>[] | undefined | No | The change member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract. | FieldValidator |
blur | FieldValidator<T> | readonly FieldValidator<T>[] | undefined | No | The blur member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract. | FieldValidator |
submit | FieldValidator<T> | readonly FieldValidator<T>[] | undefined | No | The submit member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract. | FieldValidator |
command | FieldValidator<T> | readonly FieldValidator<T>[] | undefined | No | The command member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract. | FieldValidator |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference