Reputation: 827
I am using AEM 6.1 and using the multifield provided by the acs aem commons version 2.2 bundle. I want to limit the number of multifield that I can configure. I have gone through the documentation here but nothing seems to be working. Any ideas?
Upvotes: 2
Views: 1163
Reputation: 160
By minItems="1" maxItems="1" you can set the maximum and minimum number of items.
Upvotes: 4
Reputation: 827
So just found out it works by adding a maxItems property on the multifield node. Earlier I was trying to use that property on multifieldpanel node.
Upvotes: 9