validate

fun validate(value: T, dryRun: Boolean = false): Boolean

Validates the form value.

Return

true if the form value is valid; false otherwise.

Parameters

value

The value to validate. Defaults to the current form value.

dryRun

Whether to perform a dry run. Defaults to false. If true, the form errors are not updated.