Skip to content

Type-bind fields do not load default values from the Item Template #4782

Description

@jesielviana

Describe the bug

In DSpace, an Item Template allows repository administrators to define default metadata values for items submitted to a specific Collection. However, fields that use type-bind do not load their default values from the template. When the submission form is rendered, the type-bind field appears empty instead of being pre-filled with the defined default value.

To Reproduce

Steps to reproduce the behavior:

  1. Create an Item Template in a Collection and set a default value for a field that uses type-bind.
  2. Start a new submission in that Collection.
  3. Select a type value that triggers the type-bind field to appear.
  4. Navigate to the step containing the type-bind field.
  5. Observed result: The type-bind field is empty — the default value defined in the Item Template is not loaded.

Expected behavior

The type-bind field should be automatically filled with the default value defined in the Collection’s Item Template, just like other metadata fields.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions