The metadata field value visibility switch, e.g. , is not shown if the metadata field's input type is set to name in submission-forms.xml.
Example
In this example we consider the metadata field crisrp. preferredName in entity type Person.
excerpt from submission-forms.xml
<form name="person">
<row>
<field>
<dc-schema>crisrp</dc-schema>
<dc-element>preferredName</dc-element>
<repeatable>false</repeatable>
<label>Preferred Name</label>
<input-type>name</input-type> <!-- if you change this value to "onebox" it works as expected -->
<hint />
</field>
</row>
…
</form>
This bug affects DS CRIS 2023.01
The metadata field value visibility switch, e.g. , is not shown if the metadata field's input type is set to
name
insubmission-forms.xml
.Example
In this example we consider the metadata field
crisrp. preferredName
in entity typePerson
.excerpt from
submission-forms.xml
excerpt from
local.cfg
expected behaviour
The edit / submission form shows a visibility switch next to the input field.
current behaviour
The visibility switch is not shown in the edit/form next to the input field.