Remove the default colors from Colorfield dialog in AEM | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
May 25, 2021

Remove the default colors from Colorfield dialog in AEM | AEM Community Blog Seeding

  • May 25, 2021
  • 0 replies
  • 773 views

BlogImage.jpg

Remove the default colors from Colorfield dialog in AEM by keshav chaurasiya

Abstract

Add the property showDefaultColors="{Boolean}false"

Once you will add this property. All the default colors will be disappear from the colorfield dialog. You can show your custom colors as per the requirement. Please see the below for the reference.















You can also add showProperties="{Boolean}false" as per the above . if you want to hide the left side part from the color picker dialog then add this property.Please see the snapshot for the reference.

If you want o make the default color value selection in colorfield dialog then add the property as per below. For example if i want to make the red color default field then add the property value="{String}#FF0000"

Read Full Blog

Remove the default colors from Colorfield dialog in AEM

Q&A

Please use this thread to ask the related questions.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.