Mashup Builder > Widgets > Beta Widgets > Radio Button Widget (Beta)
  
Radio Button Widget (Beta)
The Radio Button widget enables the mashup user to choose one option from a set of options in the mashup.
* 
The Radio Button widget is available as a Beta widget in the platform and as a web component that can be imported from an SDK.
The SDK is available at PTC Support under Download Software > Order or Download Software Updates > ThingWorx Platform > Release 8.4.
The properties of the Radio Button widget are listed below.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
State
Enables you to set the state of the radio button, to selected or not selected.
BOOLEAN
False
Y
N
Disabled
Use this property to disable the widget in the mashup. The widget is displayed in the mashup but you cannot click it.
BOOLEAN
False
Y
N
Radiogroup
Enables you to define a set of radio buttons and allows the mashup user to choose one from the group.
STRING
n/a
Y
N
Label
The text that is displayed next to the radio button.
STRING
Radio Button
Y
Y
LabelMaxWidth
Enables you to set a maximum width for the label. The label is displayed on multiple lines when it equals or is greater than the maximum width.
* 
The maximum width of the widget is reset if you set fixed width for the label.
NUMBER
n/a
Y
N
TabSequence
The sequence of the widgets in which they are highlighted when the user presses Tab key.
NUMBER
n/a
N
N
CustomClass
Enables you to define the CSS to the top div of the widget. Multiple classes can be entered, separated by space.
STRING
n/a
Y
N
StateChanged
The event that is triggered when the state of the radio button changes.
n/a
n/a
Y
N
Width
The width of the widget. The width is set to the width of the label by default. Enter a value in the property panel or resize the widget in the canvas to set a fixed width.
* 
The fixed width of the widget is reset if you set maximum width for the label.
NUMBER
n/a
N
N
Height
The height of the widget. The height is set to the maximum width of the label by default. It increases if the widget has multiline label. Enter a value in the property panel or resize the widget in the canvas to set a fixed height.
NUMBER
n/a
N
N