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
/
mapValue
map
Value
inline
fun
<
T
,
R
>
Form.Field
<
T
>
.
mapValue
(
onValid
:
(
value
:
T
)
->
R
)
:
Form.FieldState
<
R
>
(
source
)
Returns a
valid
state from the result of
onValid
if this instance is
valid
or
invalid
otherwise.