Skip to content

Commit

Permalink
Merged in DSC-1408 (pull request DSpace#1069)
Browse files Browse the repository at this point in the history
[DSC-1408] - Fix dropdown readonly field

Approved-by: Andrea Barbasso
  • Loading branch information
NikitaKr1vonosov authored and Andrea Barbasso committed Dec 5, 2023
2 parents 4724dfc + e6a7165 commit 358ee7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/form/form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
title="{{'form.remove' | translate}}"
attr.aria-label="{{'form.remove' | translate}}"
(click)="clearScrollableDropdown($event, model)"
[disabled]="!model.value">
[disabled]="!model.value || model.readOnly">
<span><i class="fas fa-trash" aria-hidden="false"></i></span>
</button>
</div>
Expand Down

0 comments on commit 358ee7c

Please sign in to comment.