Expand my Community achievements bar.

SOLVED

allowReselect on ColorField xtype?

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10