AEM 6.1:ACS AEM commons bundle - 多字段

AEM 6.1 : ACS AEM commons bundle - multifield

我正在使用 AEM 6.1 并使用 acs aem commons 2.2 版捆绑包提供的多字段。我想限制我可以配置的多字段数量。我已经阅读了文档 here 但似乎没有任何效果。有什么想法吗?

所以刚刚发现它可以通过在多字段节点上添加 maxItems 属性 来工作。早些时候我试图在 multifieldpanel 节点上使用 属性。

根据 minItems="1" 最大项目=“1” 您可以设置最大和最小项目数。