q-toggle color for false state (and no color for indeterminate state)

Open
#7,593 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

  • #7598 by @FragsterAt — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start at the q-toggle component entry point and compare its false and indeterminate states with the requested screenshots. Check how q-toggle and button-toggle currently represent these states; done means supporting a false-color option and leaving the indeterminate state without color.

Written by the indexing model from the issue text.

Description

kind/feature 💡

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

Dominant language
JavaScript
Stars
27.2k
Forks
3.7k
Avg merge
1d 22h
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quasarframework/quasar

All issues in quasarframework/quasar

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.