From db62871f120f7bb2d4b4ce8265402a6bf91b7d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 24 May 2023 14:16:27 +0300 Subject: [PATCH] Refactor #3965 - For AutoComplete & Dropdown --- components/lib/autocomplete/AutoComplete.vue | 4 ++-- components/lib/dropdown/Dropdown.vue | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/lib/autocomplete/AutoComplete.vue b/components/lib/autocomplete/AutoComplete.vue index 8e5fec9b7..72f2d9f17 100755 --- a/components/lib/autocomplete/AutoComplete.vue +++ b/components/lib/autocomplete/AutoComplete.vue @@ -109,7 +109,7 @@ - + {{ searchResultMessageText }} @@ -165,7 +165,7 @@ - + {{ selectedMessageText }} diff --git a/components/lib/dropdown/Dropdown.vue b/components/lib/dropdown/Dropdown.vue index 320a7f6aa..f15560add 100755 --- a/components/lib/dropdown/Dropdown.vue +++ b/components/lib/dropdown/Dropdown.vue @@ -70,9 +70,9 @@ :style="sx('hiddenAccessible', isUnstyled)" :tabindex="0" @focus="onFirstHiddenFocus" + v-bind="ptm('hiddenFirstFocusableEl')" :data-p-hidden-accessible="true" :data-p-hidden-focusable="true" - v-bind="ptm('hiddenFirstFocusableEl')" >
@@ -97,7 +97,7 @@
- + {{ filterResultMessageText }} @@ -136,12 +136,12 @@ :class="cx('emptyMessage')" :style="sx('hiddenAccessible', isUnstyled)" role="option" - :data-p-hidden-accessible="true" v-bind="ptm('emptyMessage')" + :data-p-hidden-accessible="true" > {{ emptyFilterMessageText }} -
  • +
  • {{ emptyMessageText }}
  • @@ -158,12 +158,12 @@ aria-live="polite" :class="cx('emptyHiddenMessage')" :style="sx('hiddenAccessible', isUnstyled)" - :data-p-hidden-accessible="true" v-bind="ptm('hiddenEmptyMessage')" + :data-p-hidden-accessible="true" > {{ emptyMessageText }}
    - + {{ selectedMessageText }}