optionalDropDown
Deprecated
Use optionalSelectBox
Replace with
optionalSelectBox( model, boxItemVisualizer, listItemVisualizer, unselectedBoxItemVisualizer, unselectedListItemVisualizer, config)
Creates a SelectBox control that is bound to a Field. This control lets a user select a single item within a list. It is similar to optionalRadioList. This control lets a user ignore selection entirely and therefore the resulting type is T?.
Parameters
is the type of the bounded field
for the select box
used to render the drop-down's box item
used to render items in the drop-down's list
used to render the drop-down's box item when it is unselected
used to render the "unselected item" in the drop-down's list
used to control the resulting component
Deprecated
Use optionalSelectBox
Replace with
optionalSelectBox(first, *rest, boxItemVisualizer = boxItemVisualizer, listItemVisualizer = listItemVisualizer, unselectedBoxItemVisualizer = unselectedBoxItemVisualizer, unselectedListItemVisualizer = unselectedListItemVisualizer, config = config)
Creates a SelectBox control that is bound to a Field. This control lets a user select a single item within a list. It is similar to optionalRadioList. This control lets a user ignore selection entirely and therefore the resulting type is T?.
Parameters
is the type of the bounded field
item in the list
of the items in the list
used to render the drop-down's box item
used to render items in the drop-down's list
used to render the drop-down's box item when it is unselected
used to render the "unselected item" in the drop-down's list
used to control the resulting component
Deprecated
Use optionalSelectBox
Replace with
optionalSelectBox(first, *rest, label = label, unselectedLabel = unselectedLabel, config = config)
Creates a SelectBox control that is bound to a Field. This control lets a user select a single item within a list. It is similar to optionalRadioList. This control lets a user ignore selection entirely and therefore the resulting type is T?.
Parameters
is the type of the bounded field
item in the list
of the items in the list
used to render the drop-down's items
used to render the item that represents the "unselected" state
used to control the resulting component