Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix toggle controller for checkboxes #144

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Conversation

SethHorsley
Copy link
Contributor

@SethHorsley SethHorsley commented Mar 15, 2022

event.preventDefault() makes checkboxes behave very weird
before when a checkbox was clicked the checkbox would toggle the toggeable but the checkbox would not be checked.

This fixes that issue

`event.preventDefault()` makes checkboxes behave very weird
@SethHorsley SethHorsley changed the title Fix toggle for checkboxes Fix toggle controller for checkboxes Mar 15, 2022
@excid3
Copy link
Owner

excid3 commented Mar 16, 2022

I think this makes sense. Without this, it'd prevent the checkbox from being marked as checked, right?

1 similar comment
@excid3
Copy link
Owner

excid3 commented Mar 16, 2022

I think this makes sense. Without this, it'd prevent the checkbox from being marked as checked, right?

@SethHorsley
Copy link
Contributor Author

I think this makes sense. Without this, it'd prevent the checkbox from being marked as checked, right?

Yessir

@excid3 excid3 merged commit c29ad85 into excid3:master Mar 16, 2022
@SethHorsley SethHorsley deleted the patch-1 branch March 16, 2022 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants