是否有一些文档如何为category_selection
内容类型编写 jexl?当前的2.0 文档在这个主题中有点薄。
我盲目地尝试:
<property name="authors" type="category_selection">
<meta>
<title lang="de">Autor</title>
<title lang="en">Author</title>
</meta>
<params>
<param name="item_disabled_condition" value="parent.key == 'authors'"/>
</params>
</property>
但它甚至不会引发错误;)。
我尝试做的是,只允许选择某个子类别的孩子。