doodle
Toggle table of contents
0.12.0
common
Target filter
common
Switch theme
Search in API
Skip to content
doodle
Controls
/
io.nacular.doodle.controls.form
/
ifValid
if
Valid
inline
fun
<
T
>
Form.FieldState
<
T
>
.
ifValid
(
onValid
:
(
value
:
T
)
->
Unit
)
(
source
)
inline
fun
<
T
>
Form.Field
<
T
>
.
ifValid
(
onValid
:
(
value
:
T
)
->
Unit
)
(
source
)
Does the action of
onValid
if this instance is
valid
.