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
Describe the bug
What is the function of the (disabled) [+Add More] button in top right corner of submission? Based on the code this button would have functionality if there are 'disabled' sections, how are they defined?
Possibly: In item-submission.xml steps can have a visibility part in the scope, with options: HIDDEN("hidden"), READONLY("read-only"), EDITABLE("editable") => collection selection is supposedly 'hidden' though in submission, & is not part of these "disabled" sections https://demo.dspace.org/server/#https://demo.dspace.org/server/api/config/submissionsections => visibility for collection step not set.
Disabled sections are sections with mandatory=false for the step-definition in item-submission.xml
In any case if there are no such 'disabled' sections should the [+Add More] button not be hidden instead of just disabled
@hutattedonmyarm
Thanks for this info! Updated this issue & the related PR's instructions for reviewers with this.
Verified setting mandatory="false" in item-submission.xml: <step-definition id="traditionalpagetwo" mandatory="false"> on the default second describe step does indeed make this add button show again after changes of PR, and is not disabled but a dropdown allowing you to add this non-mandatory step.
Describe the bug
What is the function of the (disabled) [+Add More] button in top right corner of submission? Based on the code this button would have functionality if there are 'disabled' sections, how are they defined?
Possibly:Initem-submission.xml
steps can have avisibility
part in the scope, with options:HIDDEN("hidden"), READONLY("read-only"), EDITABLE("editable")
=>collection
selection is supposedly 'hidden' though in submission, & is not part of these "disabled" sectionshttps://demo.dspace.org/server/#https://demo.dspace.org/server/api/config/submissionsections => visibility for collection step not set.Disabled sections are sections with mandatory=false for the
step-definition
initem-submission.xml
In any case if there are no such 'disabled' sections should the [+Add More] button not be hidden instead of just disabled
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Button hidden if no 'disabled' sections
Unclear what disabled sections are / how button can be used if there are such sections
Related work
Link to any related tickets or PRs here.
Disabled instead of hide in case of no disabled section done in c73b4c7
Part of:
https://github.com/DSpace/dspace-angular/pull/279/commits
https://github.com/DSpace/dspace-angular/pull/381/commits
The text was updated successfully, but these errors were encountered: