Form inputs following radios do not restore state
Closed this issue · 0 comments
daviddarnes commented
Describe the bug
An input that follows a radio does not seem to restore state when reloading the page.
To Reproduce
Steps to reproduce the behaviour:
- Go to 'the demo page'
- Check the 'High contrast' checkbox
- Refresh the page
- Note that the checkbox is no longer highlighted
Expected behaviour
The input should update to the content in local storage
Example
Recreation of the bug can be found here: https://codepen.io/daviddarnes/pen/YzMjBPb?editors=1000