Allows you to add options to the radio button field. You can click on **Add new option** button and add options manually or enable `Dynamic options` and enter the options using code.
Allows you to add a loading state to the dynamically generated options. You can enable or disable the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression.
## Component specific actions (CSA)
The following actions of the component can be controlled using the component-specific actions (CSA), you can trigger it using an event or use a RunJS query.
| label | Holds the label name of the radio button. | `{{components.radiobutton1.label}}` |
| value | Holds the value selected by the user in the component. | `{{components.radiobutton1.value}}` |
| options | Holds all the option values of the radio button in array form. | `{{components.radiobutton1.options}}` or <br/>`{{components.radiobutton1.options[0].label}}` |
| isValid | Indicates if the input meets validation criteria. | `{{components.radiobutton1.isValid}}` |
| isMandatory | Indicates if the field is required. | `{{components.radiobutton1.isMandatory}}` |
| isLoading | Indicates if the component is loading. | `{{components.radiobutton1.isLoading}}` |
| isVisible | Indicates if the component is visible. | `{{components.radiobutton1.isVisible}}` |
| isDisabled | Indicates if the component is disabled. | `{{components.radiobutton1.isDisabled}}` |
| Make this field mandatory | Displays a 'Field cannot be empty' message if no option is selected. | Enable/disable the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression. |
| Custom validation | Specifies a validation error message for specific conditions. | Logical Expression (e.g., `{{!components.radiobutton1.value && "Please select an option"}}`). |
| Loading state | Enables a loading spinner, often used with `isLoading` to indicate progress. Toggle or set dynamically. | Enable/disable the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression. |
| Visibility | Controls component visibility. Toggle or set dynamically. | Enable/disable the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression. |
| Disable | Enables or disables the component. Toggle or set dynamically. | Enable/disable the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression. |
| Tooltip | Provides additional information on hover. Set a string value for display. | String (e.g., `Select an option.` ). |
| Show on desktop | Makes the component visible in desktop view. | You can set it with the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression. |
| Show on mobile | Makes the component visible in mobile view. | You can set it with the toggle button or dynamically configure the value by clicking on **fx** and entering a logical expression. |
| Color | Sets the color of the component's label. | Select the color or click on **fx** and input code that programmatically returns a Hex color code. |
| Alignment | Sets the position of the label and input field. | Click on the toggle options or click on **fx** to input code that programmatically returns an alignment value - **side** or **top**. |
| Width | Sets the width of the input field. | Enable **Auto width** to use the standard width automatically. Disable it to manually adjust the width using the slider or by entering a numeric value via **fx**. You can also choose whether the width is calculated relative to the **Container** or relative to the **Field**. |
| Border | Sets the border color of the checkboxes. | Select the color or click on **fx** and input code that programmatically returns a Hex color code. |
| Checked background | Sets the color of the selected checkbox. | Select the color or click on **fx** and input code that programmatically returns a Hex color code. |
| Unchecked background | Sets the color of the unselected checkboxes. | Select the color or click on **fx** and input code that programmatically returns a Hex color code. |
| Handle color | Sets the fill color of the selected checkbox. | Select the color or click on **fx** and input code that programmatically returns a Hex color code. |
| Text | Sets the colors of the option labels. | Enable the icon visibility, select icon and icon color |