RadioGroup()
Add radio group to dialog view, each child view contains Radio Button
Constructor
RadioGroup(id: number)
RadioGroup(id: number, defaultButtonId: number)
Parameters
| Parameters | Type | Description |
|---|---|---|
| id | number | Unique identifier or label of the button, the id is used by Dialog:getValueById() |
| defaultButtonId | number | Optional radio button id that should be selected by default |
Notes
- The second parameter is optional
defaultButtonIdshould match one of theRadioButtonids added into this group- If the provided button id is not found, the dialog falls back to the first radio button
- When a default value is provided, it takes priority over previously saved dialog state