- An input field that has attached a
- An external event that changes the input value color.
On value change the color shown by the colorpicker doesn't get automatically updated, neither the selection when user open up the colorpicker dialog box.
wpColorPickerdoesn't have neither
updatemethods, so there is no simple way to do this.
And lastly, they wrap the input field in a bunch of other tags to do the styling, so no simple manual removal can be done.
- How can I update the color on the widget and its selection when user initiates interaction upon field value change?