Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM Style System

Avatar

Level 3

Hello,

Scenario : Under style system for a custom component, i have 3 style groups : line style, line color, line thickness.
Under line style there are 3 options : transparent, solid, dotted.
Under color: green, blue, red
if user selects transparent option under line style, then we need to disable the selection for color.
Please let me know how this can be done.

Thanks & Regards,
Vishal Jain

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

OOTB you can't do that,

You need to write custom js to achieve that.



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

OOTB you can't do that,

You need to write custom js to achieve that.



Arun Patidar

Avatar

Level 3

Hi
Can you please share any sample code or any related link
Thanks & Regards,
Vishal Jain