I have an issue with the p:colorPicker component.
I have the following code:
Code: Select all
<p:colorPicker
id="customStatus_customStatus_styleClassForeground"
value="#{customStatusLanguageEditController.customStatus.styleClassForeground}">
<p:ajax event="change"
update="@form:layout_preview_container" />
</p:colorPicker>
if i open the colorPicker PopUp and use my mouse for searching a right color code, the event is always fired as soon I move my mouse.
Is there a possibility to fire the event only then if I close again the PopUp?
Otherwise the event is multiple times.
Any suggestions?