toggle menu
doodle
0.10.3
common
switch theme
search in API
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
.