Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

24-05-2021

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.

AEM AEMEBlogSeeding Experience Manager