-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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 Request] v-color-picker new prop to hide sliders / show swatches only ? #11138
Comments
@ryo-gk |
@laurent-brisbois |
@ryo-gk |
Thanks, I'll take this one. |
Great suggestion, I'll be watching this closely :) Let me know if I can help with the PR |
@ryo-gk Are you still on it ? :) |
I would like this too, only I would like to just show the swatches and the transparency slider. |
Added the ability to hide sliders in VColorPicker. resolves #11138
Problem to solve
In my use case, I'd like to enable the user to only pick a color among a predefined set of colors (aka.
swatches
) But there is no prop to remove these sliders :Would it be possible to add this feature ?
From now on I did this :
which result in this :
Proposed solution
Add a prop
hide-sliders
(or whatever the name) so that it can be hidden.Then it would be possible to have a colorpicker that looks like this (if
:swatches
is defined of course or it displays the full list) :The text was updated successfully, but these errors were encountered: