Skip to content

Unwanted Behavior when one checkbox is checked #59

Description

@kisfelix

Code automatically checked the "check-all" box if any one of the checkboxes is checked (line 87 in src/index.ts)

Proposed change: replace with the following if statement

if ((total - count) == 0) {
setChecked(target, allCheckbox, checked, indeterminate);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions