dspace-angular icon indicating copy to clipboard operation
dspace-angular copied to clipboard

Submission warning icon does not change to checkmark when valid for certain configurations

Open LotteHofstede opened this issue 1 year ago • 0 comments

Describe the bug We discovered that when there's a single input field in the first describe step of submission, the orange (!) icon at the top of the section will not change on save to a green checkmark when the user fills it out correctly.

To Reproduce

The following input forms configuration was used to reproduce this:

   <form name="traditionalpageone">
        <row>
            <field>
                <dc-schema>dc</dc-schema>
                <dc-element>type</dc-element>
                <repeatable>false</repeatable>
                <label>Type</label>
                <input-type value-pairs-name="common_types">dropdown</input-type>
                <hint>Select the type of content of the item.</hint>
                <required>You must enter a type for this item</required>
            </field>
        </row>
    </form> 

Start a new submission that uses this first describe step in its configuration.

Expected behavior

Using this configuration, when you select a type and then click "Save". The (!) in the header of the first describe step should change from orange to a green checkmark.

LotteHofstede avatar Apr 08 '24 09:04 LotteHofstede