-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Checklist
- I'm using version [0.4.3]
- My browser is: Google Chrome 63.0.3239.132 (64 bits)
Description
Trying to set a gradient value with the API is not working. It looks that this is a bug or actually there is no explicit way to achieve this. Anyone with same problem / workaround?
The picker is in 'gradient' mode.
How can we reproduce this bug?
- Try to set a gradient value.
$().asColorPicker('val', 'linear-gradient(to top, rgb(126, 13, 192) 0%, rgb(48, 8, 8) 100%)');
What did you expect to happen?
Gradient should be set in the input and in the trigger just as when a flat color is set.
What happened instead?
The input becomes empty and the trigger loads flat white color no matter what gradient colors were used.
Metadata
Metadata
Assignees
Labels
No labels