Skip to content

FormField.constructor

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

Initializes a new instance of the FormField<TValue, TValidationError> class.

public constructor(
  config: IFormFieldConfig<TValue, TValidationError>
)

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

Parameters

  • config: IFormFieldConfig<TValue, TValidationError>
    The initial configuration of the field (name, value, validators etc.).
Clone this wiki locally