mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
fix issue with comboboxes
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
class="dropdown-menu scrollable-dropdown-menu w-100"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"
|
||||
aria-labelledby="scrollableDropdownMenuButton">
|
||||
[attr.aria-labelledby]="'label_' + model.id">
|
||||
<div class="scrollable-menu"
|
||||
aria-labelledby="scrollableDropdownMenuButton"
|
||||
infiniteScroll
|
||||
@@ -114,7 +114,7 @@
|
||||
</div>
|
||||
|
||||
<ng-template #hasInfo let-entry="entry">
|
||||
<ul class="list-unstyled mb-0">
|
||||
<ul class="list-unstyled mb-0" [attr.aria-labelledby]="'label_' + model.id">
|
||||
<li class="list-item text-truncate text-primary font-weight-bold">{{entry.value}}</li>
|
||||
<li class="list-item text-truncate text-secondary" *ngFor="let item of entry.otherInformation | dsObjNgFor" >
|
||||
{{ 'form.other-information.' + item.key | translate }} : {{item.value}}
|
||||
@@ -123,7 +123,7 @@
|
||||
</ng-template>
|
||||
|
||||
<ng-template #noInfo let-entry="entry">
|
||||
<ul class="list-unstyled mb-0">
|
||||
<ul class="list-unstyled mb-0" [attr.aria-labelledby]="'label_' + model.id">
|
||||
<li class="list-item text-truncate text-primary font-weight-bold">{{entry.value}}</li>
|
||||
</ul>
|
||||
</ng-template>
|
||||
|
@@ -22,9 +22,9 @@
|
||||
class="dropdown-menu scrollable-dropdown-menu w-100"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"
|
||||
aria-labelledby="scrollableDropdownMenuButton">
|
||||
[attr.aria-labelledby]="'label_' + model.id">
|
||||
<div class="scrollable-menu"
|
||||
aria-labelledby="scrollableDropdownMenuButton"
|
||||
[attr.aria-labelledby]="'label_' + model.id"
|
||||
infiniteScroll
|
||||
[infiniteScrollDistance]="2"
|
||||
[infiniteScrollThrottle]="50"
|
||||
|
Reference in New Issue
Block a user