setValue() doesn't work correctly on a ColorPicker
ibibbyJan 18 2013 — edited Jan 18 2013I have a ColorPicker control in my app. The color can be set directly by the user, but can also be set programmatically by the app (for instance, when the user undoes their action of changing color).
Unfortunately, setValue() doesn't work properly. If I call setValue() before the user has clicked on the ColorPicker for the first time, it will work. However, if I call it after the user has used the control once, setValue() will fail to change the visibly selected color. It will change the underlying selection, so if I call getValue() after setValue() it will return the new value, but the visible selection on the control doesn't change.
First of all, is this a bug? And secondly, is there any workaround to make the control update itself to show the proper color after a setValue()?
Edited by: ibibby on Jan 18, 2013 12:20 PM