selectedLabel

Property is read-only. It cannot be set in script.

Specifies the selected label of the component (not the value). Applies to single value input elements (Slider, Spinner, Radio Button, Combo Box).

Type

String

label of the selected option

Example

Text1.text = 'Displaying data for ' + RadioButton1.selectedLabel;

Either syntax below can be used in component script:

selectedLabel               // unqualified
Component1.selectedLabel    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.