presseddigital / colorit

A slick color picker fieldtype plugin for the Craft CMS control panel
Other
21 stars 8 forks source link

Ability to set a default color for a field? #23

Closed proimage closed 3 years ago

proimage commented 4 years ago

Seems to me there should be a way to set a default color that will be selected when creating new entries. Currently there seems no way to do so, neither for custom field colors, nor for preset color palettes.

cakleimeier commented 4 years ago

I'm also running into this issue; when creating a new field using a preset color palette, it appears that you have the option to select the default color for that particular field, but the functionality doesn't actually work. You can't actually select a color.

cakleimeier commented 3 years ago

Has there been any progress on this issue? It's still a problem for me, despite having tried many other solutions suggested in other recent issues.

proimage commented 3 years ago

bump

ben-callaway commented 3 years ago

You can set a default when creating a preset, or a new field.

Screenshot 2021-07-26 at 17 29 30

Under Default Color, enter the desired default color handle (electricViolet in my example), when a new entry is created the default color will be pre selected...

Screenshot 2021-07-26 at 17 28 58