Expand my Community achievements bar.

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