allowReselect on ColorField xtype? | Community
Skip to main content
JustinAsh
New Participant
October 16, 2015
Solved

allowReselect on ColorField xtype?

Is there something special I need to do to get allowReselect to work with a colorfield xtype?

I've tried using allowReselect="{Boolean}true" in a colorfield dialog, but it does not seem to do anything. 

Here is a snippet from my dialog:

<headlineNeutralColor jcr:primaryType="cq:Widget" fieldLabel="Neutral Color" name="./headlineNeutralColor" allowReselect="{Boolean}true" showHexValue="true" width="615" xtype="colorfield"/>

 

I know I can modify ColorPalette.js and add that to apps/cq/ so that colorfield will allow reselecting. But this will allow reselecting for all colorfields and not just some.

I should also add this is in AEM 5.6.1.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015