Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Right now there is no way to catch the jQuery Color Picker onchange event using javascript
as the input element doesn't trigger it.
As my custom javascript code has to react on color changes I wrote a small patch.
Comment | File | Size | Author |
---|---|---|---|
colorpicker_onchange.patch | 865 bytes | jantimon | |
Comments
Comment #1
jantimon CreditAttribution: jantimon commentedCould any maintainer please give me feedback on this?
Comment #2
plopescHello
It is not enough the event implementation suggested in #1061848: Allow other modules to be notified of change to color?
It implements the onchange event.
Mark as duplicated. If your problems persist, reopen it and give me more information, please.
Thanks for your interest in the module.