bind

@Composable
open fun <K : Any> bind(key: KProperty1<K, Boolean?>, validator: (TriStateFormControl) -> Boolean? = null)(source)

Bind a nullable boolean control to the form.

Parameters

key

key identifier of the control

validator

optional validation function