Skip to main content

ChoiceGroup

Radio buttons let people select a single option from two or more choices.

Examples#

Properties#

NameTypeDefaultDescription
valuestringkey value of the selected option.
labelstringDescriptive label for the choice group.
datastringAdditional data attached to the control. The value is passed in change event data along with a ChoiceGroup selected value.

Events#

NameDescription
changeFires when the choice has been changed.

Child controls#

Option control#

Option represents an item within ChoiceGroup.

NameTypeDefaultDescription
keystringOption's key. text value will be used instead if key is not specified.
textstringOption's display text. key value will be used instead if text is not specified.
iconstringIcon name to display with this option.
iconColorstringIcon color.