value
Description
defines the initially checked radio buttonType
string | number
Example
<script>
let options = [
{ value: 1, label: "Option 1" },
{ value: 2, label: "Option 2" },
{ value: 3, label: "Option 3" },
{ value: 4, label: "Option 4" },
{ value: 5, label: "Option 5" }
];
</script>
<RadioButtonGroup {options} value={3} />
Related article: Setting the checked radio button
Related sample: Radio Button Group