Closed valeriatoneva closed 3 weeks ago
The radio group serves as a layout container for radio buttons and does not affect the state of its child elements. Furthermore, igc-radios and standard browser radio inputs are not "checked" by default. To set an initial state, add a checked attribute to one of the group's elements either during the initial page load or in response to another state change.
If this is related to #315 then it should be addressed there.
Which component(s) are affected?
Radio & Radio Group
Description
The radio group doesn't have an initial state just like the rating component has, slider, input group etc.
This means that on refresh we do not have a selected radio button. By default the first one should be selected.
Reproduction
Workaround
The first button should be selected.
Is this a regression?
No or unsure. This never worker, or I haven't tried before.
Affected versions
4.8.0
Browser/OS/Node environment
Browser: Chrome