From 2681a31e87b969eea6d830122ae5358522ddf6d8 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Thu, 24 Jun 2021 14:30:46 +0200 Subject: [PATCH] fix issue with comboboxes --- .../models/lookup/dynamic-lookup.component.html | 6 +++--- .../dynamic-scrollable-dropdown.component.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/models/lookup/dynamic-lookup.component.html b/src/app/shared/form/builder/ds-dynamic-form-ui/models/lookup/dynamic-lookup.component.html index d015a04dae..c624c46d2d 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/models/lookup/dynamic-lookup.component.html +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/models/lookup/dynamic-lookup.component.html @@ -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">
-
    +
    • {{entry.value}}
    • {{ 'form.other-information.' + item.key | translate }} : {{item.value}} @@ -123,7 +123,7 @@ -
        +
        • {{entry.value}}
        diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/models/scrollable-dropdown/dynamic-scrollable-dropdown.component.html b/src/app/shared/form/builder/ds-dynamic-form-ui/models/scrollable-dropdown/dynamic-scrollable-dropdown.component.html index 5e8980516f..2b51a16474 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/models/scrollable-dropdown/dynamic-scrollable-dropdown.component.html +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/models/scrollable-dropdown/dynamic-scrollable-dropdown.component.html @@ -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">