switchList
fun <T> switchList(vararg items: T, config: OptionListConfig<T>.() -> Unit = {}): FieldVisualizer<List<T>>(source)
Creates a list of Switches that is bound to a Field. This controls lets a user select multiple options from a list. This control lets a user ignore selection entirely, which would result in an empty list.
Parameters
T
is the type of the bounded field
items
in the list
config
used to control the resulting component