unaryPlus
DSL for adding a Field with an initial value of Invalid to a Form. The FieldVisualizer can put the created field into a Valid state; so there is no guarantee that the created field is actually invalid.
Form {
this(
+ field { ... }, // Field defaults to invalid unless its visualizer sets a valid value
...
) { first, ... ->
...
}
}
Content copied to clipboard