`setAttribute` doesn't correctly change checked state.
If the user changes the checked state of a checkbox input, `setAttribute` will stop updating the UI. It appears that internally the state is set but the interface doesn't match. Fix is to use a more thorough approach for the checked case, somewhat like `getInputValue` already does.
Showing
2 changed files
with
21 additions
and
5 deletions
-
Please register or sign in to post a comment