-
Notifications
You must be signed in to change notification settings - Fork 50.9k
Bug: Checked attribute does not update in the dom #24439
Copy link
Copy link
Closed
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug
Description
React version:
Steps To Reproduce
- Go to React's code pen example you can find the link in the documentation here
- Inspect " is going " checkbox element
- uncheck the checkbox
Link to code example: https://codepen.io/gaearon/pen/wgedvV?editors=0010
The current behavior
dom does not update, the checked attribute stays no matter what.
same goes if the initial state is set to false, the checked attribute never appears on the input element.
The expected behavior
The checked attribute should be removed if not checked.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug
