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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

AEM SDK - Container - Limit number elements to add

Avatar

Level 2

Hi all!

 

I have a component "ModuleComponent" and it has a container where user add another component "CardComponent". Container only allows "CardComponent" but I do not know how to limit number of components to add.  Anyone knows a possible control? I have thought to use a listener (refresh page - when children is added for example) on container module, but I can not how to implement it. 

Any ideas? Thanks for your time!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor