条件字段:Hide/show个字段基于其他字段的值

Conditional fields: Hide/show fields based on the value of other fields

Apostrophe 2 有条件字段吗?我只在 apostrophecms-legacy 找到 this issue,但没有相关文档。

select 字段类型有一个名为 showFields 的选项,您可以使用它根据 select 的值有条件地显示其他字段。

https://apostrophecms.org/docs/tutorials/getting-started/schema-guide.html#code-select-code