This was exactly the same problem I had. I will try this work around.
@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
The color picker seems to be broken again. Tested in Chrome and Edge and only got an empty box.
Hey, the color picker does not work when you use it for a group, only shows an empty box… Could you please fix this?
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.
Works consistently in a group.
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.
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).
will appear like below
New Update (Version 1.1.2)
Here are some minor improvements and bug fixes
Ability to select empty color.
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)
Ability to set iniitial color with the color picker (Previously you could only enter a color string.)
Ability to style picker elements differently. Previously only one of the styles applied to all elements (this was a bug actually).
Hi @patricia see the update (version 1.1.2) above concerning ability to select empty (no) color.
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”.
@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.