Skip to content

Commit 358ee7c

Browse files
NikitaKr1vonosovAndrea Barbasso
authored andcommitted
Merged in DSC-1408 (pull request DSpace#1069)
[DSC-1408] - Fix dropdown readonly field Approved-by: Andrea Barbasso
2 parents 4724dfc + e6a7165 commit 358ee7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/form/form.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
title="{{'form.remove' | translate}}"
2121
attr.aria-label="{{'form.remove' | translate}}"
2222
(click)="clearScrollableDropdown($event, model)"
23-
[disabled]="!model.value">
23+
[disabled]="!model.value || model.readOnly">
2424
<span><i class="fas fa-trash" aria-hidden="false"></i></span>
2525
</button>
2626
</div>

0 commit comments

Comments
 (0)