AEM SDK - Container - Limit number elements to add | Community
Skip to main content
New Participant
March 18, 2022
Solved

AEM SDK - Container - Limit number elements to add

  • March 18, 2022
  • 1 reply
  • 1110 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pallavi_Shukla_

Hi @ancara 

Try the acs commons similar functionality

 

https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/639

 

1 reply

Pallavi_Shukla_
Pallavi_Shukla_Accepted solution
New Participant
March 18, 2022