Radios should be used inside of a radio group. Pressing a radio will check it and uncheck the previously selected radio, if there is one. They can also be checked programmatically by setting the value property of the parent radio group to the value of the radio.
When radios are inside of a radio group, only one radio will be checked at any time. If more than one item should be selected, checkboxes should be used instead. Radios can be disabled within a group to prevent interaction with them.
By default, once a radio is selected it cannot be deselected; pressing it again will keep it selected. This behavior can be modified by using the
allowEmptySelection property on the parent radio group, which enables the radios to be deselected.
|Description||The color to use from your application's color palette. Default options are: |
"dark". For more information on colors, see theming.
"danger" ｜ "dark" ｜ "light" ｜ "medium" ｜ "primary" ｜ "secondary" ｜ "success" ｜ "tertiary" ｜ "warning" ｜ string ｜ undefined
true, the user cannot interact with the radio.
|Description||The mode determines which platform styles to use.|
"ios" ｜ "md"
|Description||The name of the control, which is submitted with the form data.|
|Description||the value of the radio.|
|Emitted when the radio button loses focus.|
|Emitted when the radio button has focus.|
No public methods available for this component.
|The container for the radio mark.|
|The checkmark or dot used to indicate the checked state.|
|Border radius of the radio|
|Color of the radio|
|Color of the checked radio|
|Border radius of the inner checked radio|
No slots available for this component.