Forum Documentation Showcase Pricing Learn more

🎨 [Free Plugin] Color picker


#22

This was exactly the same problem I had. I will try this work around.


#23

@seanhoots does the color picker have to default to a color. I need it to be blank (no color) by default. Any way to do that? Thanks


#24

colorpickerbrokenagain

The color picker seems to be broken again. Tested in Chrome and Edge and only got an empty box.


#25

Hey, the color picker does not work when you use it for a group, only shows an empty box… Could you please fix this?
Thanks!


#26

New Update (Version 1.1.1)


The plugin has been updated to fix the bug where sometimes the element doesn’t work in a group.

Added
None

Improvements
Works consistently in a group.

Removed
None


#27

Hi @carstenkring, @mattsmithhosting, @warren.hobden, @peter , guys please update the plugin to the latest version (version 1.1.1) and the issue with the element sometimes not working in a group should go away.
Let me know if you have any issues.


#28

Hi @patricia, if you don’t set any initial color it defaults to black.
A color picker has to have an initial color. I’m not sure what blank/no color means.
If you don’t want to see any color you can set the transparency to 100% by specifying an rgba value with a being 0.
e.g. rgba(255, 255, 255, 0) set the initial color to white with alpha value of 0 (100% transparent).
image
will appear like below
image


#29

New Update (Version 1.1.2)

Here are some minor improvements and bug fixes

Added
Ability to select empty color.
image

When checked you will have the ability to select empty color by clicking on the X as shown below.
When an empty color is selected calling Picker’s value will return empty (null)

image

Improvements

  1. Ability to set iniitial color with the color picker (Previously you could only enter a color string.)
    image

  2. Ability to style picker elements differently. Previously only one of the styles applied to all elements (this was a bug actually).
    image

Removed
None


#30

Hi @patricia see the update (version 1.1.2) above concerning ability to select empty (no) color.


#31

Is there a way to stop the user choosing white ?

White text on a white button on a white background = “zomg where have all the buttons gone”.


#32

:grinning::grinning:

@NigelG you mean to prevent the user picking a white color?
I’m not sure if thats possible but haven’t seen any color picker that prevents user from picking some colors.
In a particular use case though you can add some workflow that prevents your users from making some color combinations.
In the example you gave for instance you can add logic that prompts the user to pick a different color if they select the same text color as the button color.

Alternatively you can use the Palette colors feature of the plugin to define a list of colors that you want your users to choose from.