Skip to content

Commit

Permalink
Fixx attribute bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Feb 2, 2024
1 parent eb49d14 commit 33fdb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/renderer/renderer-checked.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function setChecked(element, value, hasValueAttribute) {
}

export default function CheckedRenderer(path, name, source, message, options, element) {
AttributeRenderer.call(this, path, 'checked', source, message, element);
AttributeRenderer.call(this, path, 'checked', source, message, options, element);
// Flag whether element has a value attribute
this.hasValue = isDefined(element.getAttribute('value'));
// Remove checked attribute to prevent Flash Of Unrendered Checkiness
Expand Down

0 comments on commit 33fdb40

Please sign in to comment.