Closed Malik12tree closed 1 month ago
Undo.amendEdit( { reverse: { type: "checkbox", label: "Reverse", value: false }, ... }, ... );
HTML treats a checkbox as "checked" when the checked attribute is present regarding the value. Thus, checked="false" is identical to checked="true" identical to checked="foobar"
checked
checked="false"
checked="true"
checked="foobar"
N/A
Website, PWA, Program
4.9.4
Unrelated
No response
What are you trying to do, and what do you expect to happen?
Code
Expected Initial Result
What happens instead?
Actual Result
Possible Cause
HTML treats a checkbox as "checked" when the
checked
attribute is present regarding the value. Thus,checked="false"
is identical tochecked="true"
identical tochecked="foobar"
Model format in which the issue occurs
N/A
Blockbench variant
Website, PWA, Program
Blockbench version
4.9.4
Operating System
Unrelated
Installed Blockbench plugins
No response