<uimc-radio-button
label=""
></uimc-radio-button>
Attribute | Description | Values | Default |
---|
name | Sets the name of the radio button | | – |
label | Sets the label of the radio button | | – |
value | Sets the value of the radio button | | – |
checked | Reflects the checked state | – | – |
disabled | Disables interaction on this element | – | – |
id | Overrides the generated id for input and label with a custom one | | uuid |
Callback | Argument | Description |
---|
onChange | event | Callback function that gets triggered if the state of the component changes |
Working sample
<uimc-radio-button
label="Radio button"
></uimc-radio-button>
<uimc-radio-button
label=""
></uimc-radio-button>
<uimc-radio-button
label="Radio button disabled"
disabled="true"
></uimc-radio-button>
<uimc-radio-button
label="Radio button disabled but checked"
disabled="true"
checked="true"
></uimc-radio-button>