RadioButtonGroup

RadioButtonGroup allows you to select a single value from a list of options using radio buttons. If you need to choose several values from the list, you should use the CheckBoxGroup component.

Component’s XML-name: RadioButtonGroup.

radio button group

Basics

The simplest case of using RadioButtonGroup is to select an enumeration value for an entity attribute.

<radioButtonGroup optionsEnum="ui.ex1.entity.Level"
                  property="level"
                  caption="Levels"/>

In the example above, the Customer entity has the level attribute of the Level type, which is an enumeration.

Functionality

RadioButtonGroup has identical functionality as CheckBoxGroup:

But note that you will only be able to select one of the suggested values.