You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
<formname="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>
saschaszott
changed the title
metadata fields with <input-type>name</input-type>: field visibility switch is not shown
metadata fields with <input-type>name</input-type>: field visibility switch is not shown in edit / submission form
Aug 9, 2023
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
metadatavalue.visibility.Person.crisrp.preferredName.settings = [0 2]
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.
The text was updated successfully, but these errors were encountered: