tuil
ReferencePackages@mwillbanks/tuil-formAPI

FieldValidators

interface exported by @mwillbanks/tuil-form.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
changeFieldValidator<T> | readonly FieldValidator<T>[] | undefinedNoThe change member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract.FieldValidator
blurFieldValidator<T> | readonly FieldValidator<T>[] | undefinedNoThe blur member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract.FieldValidator
submitFieldValidator<T> | readonly FieldValidator<T>[] | undefinedNoThe submit member uses the FieldValidator<T> | readonly FieldValidator<T>[] | undefined contract.FieldValidator
commandFieldValidator<T> | readonly FieldValidator<T>[] | undefinedNoThe 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.

Source

View the secondary source reference

Package

@mwillbanks/tuil-form

On this page