optionalRadioList
fun <T : Any> optionalRadioList(vararg items: T, config: OptionListConfig<T>.() -> Unit = {}): FieldVisualizer<T?>(source)
Creates a list of RadioButtons within a ButtonGroup that is bound to a Field. This controls lets a user select an option from a list. This control lets a user ignore selection entirely and therefore the resulting type is T?.
Parameters
T
is the type of the bounded field
items
in the list
config
used to control the resulting component