Expand my Community achievements bar.

SOLVED

AEM Style System

Avatar

Level 2

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 2

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