FieldValidationTrigger

Represents the timings that trigger field validation.

Inheritors

Types

Link copied to clipboard

By default, this setting automatically performs validation after the field loses focus, and if validation fails, it will re-validate each time the form input changes.

Link copied to clipboard

Automatically performs validation at the time of form submission, and thereafter re-validates each time the form input changes.

Properties

Link copied to clipboard
abstract val startAt: FieldValidateOn

The timing to trigger automatic validation.

Functions

Link copied to clipboard
abstract fun next(state: FieldValidateOn, isPassed: Boolean): FieldValidateOn

Returns the timing to trigger the next validation.