rememberSubmissionControl

Remembers a submission control for the form.

Usage:

rememberSubmissionControl { rules, dryRun ->
rules.values.map { it.test(this, dryRun = dryRun) }.all { it }
}

Return

The remembered submission control.

Parameters

validate

The function to validate the form value.