-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
q-toggle color for false state (and no color for indeterminate state) #7593
Comments
Hi @FragsterAt, we follow material design guidelines and the behaviour you ask isn't what toggles are made for. I checked around and seems like all other frameworks agree on this, so we probably won't accept your PR. Will leave open in case @rstoenescu wants to weight in confirming/contradicting what I wrote. As rejecting a PR isn't nice either for Quasar team and the PR maker, please follow the PR guidelines next time and wait the green light before sending a PR. |
@IlCallo , I looked at https://material.io/develop/web/components/input-controls/switches and find options toggled-off-color($color) and others to set custom "off" color, even different colors for track, thumb in every state. |
True that, do you have examples from other UI libraries? |
@IlCallo ui kits: |
Is your feature request related to a problem? Please describe.
I want to use q-toggle not like on-off (checkbox), but like select between two equal values
Now it seems like this:
https://i.imgur.com/gqvD7gl.png
But I want to see it like this:
https://i.imgur.com/kwogVVc.png
Describe the solution you'd like
Option false-color to add color and bg for 'off' state
Describe alternatives you've considered
Alternative is button-toggle, but it is not clear for users, when it is only two values
Additional context
The text was updated successfully, but these errors were encountered: