validate

abstract fun validate(value: T, dryRun: Boolean): Boolean(source)

Validates the form data.

Return

True if validation passes, false otherwise.

Parameters

value

The form data to validate.

dryRun

Whether this is a dry run (doesn't update field states).