Skip to content

Commit

Permalink
Fix(web): Id of Checkbox component indeterminate demo
Browse files Browse the repository at this point in the history
- In the demo, there were incorrect IDs in the JavaScript to target the checkboxes
  • Loading branch information
pavelklibani committed Jun 20, 2024
1 parent 2d35aee commit aefbf0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block content %}

<script>
const inputs = ['checkboxIndeterminate', 'checkboxDisabledIndeterminate'];
const inputs = ['checkbox-indeterminate', 'checkbox-disabled-indeterminate'];
window.addEventListener('DOMContentLoaded', function () {
inputs.forEach(function (input) {
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/scss/components/Checkbox/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#> web/layout/plain }}

<script>
const inputs = ['checkbox-indeterminate', 'checkboxDisabledIndeterminate'];
const inputs = ['checkbox-indeterminate', 'checkbox-disabled-indeterminate'];

window.addEventListener('DOMContentLoaded', function () {
inputs.forEach(function (input) {
Expand Down

0 comments on commit aefbf0d

Please sign in to comment.