Closed vocabularies for the tag input type still allow custom values as long as there's a suggestion present
Maintainer thường phản hồi trong vòng 1 ngày
@jensvannerum đang làm issue này rồi.
Từ ngày 6/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
Even when a vocabulary is closed, if you use the tag input type for it, your input will always be appeneded to the list as a 'suggestion', allowing you to submit any value (as long as your input causes a suggestion to show).
To Reproduce
- Set any field up in the back end's
submission-forms.xmlto use a vocabulary withclosed=trueand input type tag e.g:
<field>
<dc-schema>dc</dc-schema>
<dc-element>subject</dc-element>
<dc-qualifier></dc-qualifier>
<repeatable>true</repeatable>
<label>Subject Keywords</label>
<input-type>tag</input-type>
<hint>Enter appropriate subject keywords or phrases.</hint>
<required></required>
<vocabulary closed="true">srsc</vocabulary>
</field>
- Start tying a value that appears in the vocabulary, but only partially so that your input is not in the vocabulary
- Verify that your input is shown as suggestion at the bottom of the list, you can click it, it's added as a tag and you can save/submit
In the images below you can see how I add "tes" which is NOT in my vocabulary
Expected behavior
A clear and concise description of what you expected to happen.
I've already got a fix on DSpace 9, so I will claim this issue myself and re-do it against the latest main
- Ngôn ngữ chính
- TypeScript
- Star
- 180
- Fork
- 577
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 95
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DSpace/dspace-angular
-
accessibility affects: 10.x affects: main bug ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DSpace/dspace-angular#6531 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility affects: 10.x affects: main bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
DSpace/dspace-angular#6530 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Submission Form Allows Deletion of All Repeating Item EntriesCó thể đã có người làm @Rowan-McKereghan đã nhận 5 ngày trước. Đang mởaffects: 8.x affects: 9.x bug component: submission
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DSpace/dspace-angular#6511 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Visual issues with qualdrop fieldsCó thể đã có người làm @DanGastardelli đã nhận 15 ngày trước. Đang mởaffects: 10.x affects: 9.x bug claimed: Acervos Digitais component: submission Difficulty: Low ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
DSpace/dspace-angular#6412 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Facet headings have incorrect clickable area to expand/collapseCó thể đã có người làm @jesielviana đã nhận 12 ngày trước. Đang mởaccessibility affects: 10.x affects: 8.x affects: 9.x bug ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DSpace/dspace-angular#6364 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DSpace/dspace-angular
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
steelbrain/node-ssh#487 ·
-
cli: `execCargoMetadata` decodes stdout per chunk, corrupting non-ASCII paths across pipe boundariesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
lingdojo/kana-dojo#34127 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
osmlab/name-suggestion-index#13104 ·
Maintainer thường phản hồi trong vòng 1 ngày