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

allowReselect on ColorField xtype?

  • October 16, 2015
  • 1 reply
  • 764 views

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.
Best answer by smacdonald2008

I am not seeing that option here: 

http://docs.adobe.com/docs/en/cq/current/widgets-api/index.html?class=CQ.form.ColorField

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015