Skip to content

IFormFieldConfig.validators

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

Provides the validators of the field, these can be later reconfigured.

Property type: readonly (IValidator<FormField<TValue, TValidationError>, TValidationError> | ValidatorCallback<FormField<TValue, TValidationError>, TValidationError>)[].

readonly validators?: readonly (IValidator<FormField<TValue, TValidationError>, TValidationError> | ValidatorCallback<FormField<TValue, TValidationError>, TValidationError>)[]

Source reference: src/forms/FormField.ts:27.

Clone this wiki locally