Enonic version: 7.1.3
OS: Ubuntu 18.04
Hi,
I’m trying to use the display-name-expression tag to name a content-type from a TextLine inside a field-set, but it’s not working. It worked after I removed the field-set, but I’d like to have the field-set.
The start of the content-type follows.
<content-type>
<display-name i18n="type.employee.display-name">Ansatt</display-name>
<description>employee</description>
<super-type>base:structured</super-type>
<display-name-expression>${employee_name}</display-name-expression>
<form>
<field-set>
<items>
<input name="employee_name" type="TextLine">
<label i18n="type.employee.employee_name">Navn</label>
<occurrences minimum="1" maximum="1"/>
</input>
<input name="employee_position" type="TextLine">
<label i18n="type.employee.employee_position">Stilling</label>
<occurrences minimum="0" maximum="1"/>
</input>