magnolia-community / color-picker-field

Vaadin's ColorPicker component wrapped in a custom field.
1 stars 2 forks source link

Unable to clear color picker selection, or select transparent color #3

Open NiclasHorstad-acn opened 4 years ago

NiclasHorstad-acn commented 4 years ago

This might be more of a "help me out here" request rather than an actual issue...

In an optional dialog color picker input, there is currently no way to either:

  1. Clear the color selection (leave field with null value)
  2. Select 'transparent' as the color of choice

Either of these two options would be appropriate, but after experimenting, I cannot find a way to achieve this.

Any help would be greatly appreciated.

rgange commented 3 years ago

Thanks for the feedback. Sorry for the slow response. I'll try to take a look at that soon.

rgange commented 3 years ago

Yes, you are right. There isn't a way to do such a thing. I will have to create a clear selection button or something similar.