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

[FEATURE] Tristate toggle #40

Closed
4 tasks done
palcarazm opened this issue Jul 17, 2022 · 5 comments · Fixed by #47
Closed
4 tasks done

[FEATURE] Tristate toggle #40

palcarazm opened this issue Jul 17, 2022 · 5 comments · Fixed by #47
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@palcarazm
Copy link
Owner

palcarazm commented Jul 17, 2022

Is your feature request related to a problem? Please describe.
Normal checkboxes support an indeterminate state via JavaScript.
image

Describe the solution you'd like

  • Add support to indeterminate state.
  • Add styling to indeterminated toggle elements to show when they're indeterminated .

Describe alternatives you've considered
😞

Additional context
Original from:

☑️ Task list

  • Develop feature/fix jQuery
  • Develop feature/fix ECMAS
  • Add cypress test coverage
  • Update docs (is needed)
@palcarazm palcarazm added the enhancement New feature or request label Jul 17, 2022
@github-actions
Copy link

Hi! 👋
Thanks for your issue. You are helping to improve Bootstrap 5 toggle.

@palcarazm palcarazm added this to the v4.4.0 milestone Jul 17, 2022
Repository owner deleted a comment from github-actions bot Jul 17, 2022
@palcarazm palcarazm modified the milestones: v4.4.0, v4.3.0 Jul 18, 2022
Repository owner deleted a comment from github-actions bot Jul 18, 2022
@palcarazm palcarazm self-assigned this Jul 20, 2022
palcarazm added a commit that referenced this issue Jul 20, 2022
- Add indeterminate style
- Add tristate property
- Add indeterinate and determinate methods

Refs: Closes #40
palcarazm added a commit that referenced this issue Jul 21, 2022
palcarazm added a commit that referenced this issue Jul 21, 2022
@johnwc
Copy link

johnwc commented Nov 20, 2023

@palcarazm was this feature added? I do not see any examples

@palcarazm
Copy link
Owner Author

palcarazm commented Nov 20, 2023

Hi

<input type="checkbox" checked data-toggle="toggle" tristate>

@johnwc
Copy link

johnwc commented Nov 20, 2023

Is this still the demo site for this?
https://www.bootstraptoggle.com/

@palcarazm
Copy link
Owner Author

No, the demo page is https://palcarazm.github.io/bootstrap5-toggle/

The website you refer is for bootstrap 4 who has not support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants