Open avernet opened 8 years ago
Also check what happens with validation.
So the issue here is not huge: it's one of consistency. Usually at design-time, we don't run relevance, validation, etc. But there the relevance in the section template runs.
It's probably that annotate.xpl
only rewrites @relevant
etc. on the main model.
To reproduce, in Form Builder, create
a/library
with one field, set the visibility of the field tofalse()
, publish.In Form Builder, create
a/a
, add the section template, and notice how the field isn't shown. This is inconsistent with fields of regular sections, which do show even when non-relevant at design time.