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
When the user changes the type, the type-bound input fields are not displayed or hidden correctly. They appear or disappear as expected when the type is selected at the start of the submission. However, after some inputs in each form are filled and the license is marked as true, the type-bound inputs do not update correctly when the dc.type field is changed.
The type-bound inputs are displayed correctly only when the user clicks the Save button.
How to reproduce
Set up input field with type-bind like
<row>
<field>
<dc-schema>dc</dc-schema>
<dc-element>language</dc-element>
<dc-qualifier>iso</dc-qualifier>
<repeatable>false</repeatable>
<label>Language</label>
<type-bind>corpus,lexicalConceptualResource,languageDescription</type-bind>
<input-type>onebox</input-type>
<hint>Select the language of the main content of the item. Multiple languages are possible. Start
typing the language and use autocomplete form that will appear if applicable. Better to list all the languages then to use the 'mul' iso code (if there are too many, contact support).
</hint>
<required>Please choose a language for the resource.</required>
</field>
</row>
<row>
<field>
<dc-schema>dc</dc-schema>
<dc-element>language</dc-element>
<dc-qualifier>iso</dc-qualifier>
<repeatable>true</repeatable>
<label>Language</label>
<type-bind>toolService</type-bind>
<input-type>onebox</input-type>
<hint>If the tool/service is language dependent, select the appropriate language(s). Otherwise leave the field empty. Multiple languages are possible. Start typing the language and use autocomplete
form that will appear.
</hint>
<required/>
</field>
</row>
milanmajchrak
changed the title
Submission workflow/type-binded inputs are not displayed correctly
Submission workflow/type-bound inputs are not displayed correctly
Nov 29, 2024
Problem description
When the user changes the type, the type-bound input fields are not displayed or hidden correctly. They appear or disappear as expected when the type is selected at the start of the submission. However, after some inputs in each form are filled and the license is marked as true, the type-bound inputs do not update correctly when the dc.type field is changed.
The type-bound inputs are displayed correctly only when the user clicks the Save button.
How to reproduce
type-bind
likeLanguage
input field is not displayedCorpus
Language
input field is not displayedSave
-> theLanguage
input field is displayedThe text was updated successfully, but these errors were encountered: