From c90c688a95c166361685bf0452ce030b80dcac27 Mon Sep 17 00:00:00 2001 From: melloware Date: Tue, 11 Oct 2022 09:46:17 -0400 Subject: [PATCH] Fix #3467: Autocomplete dropdownAriaLabel --- components/lib/autocomplete/AutoComplete.js | 3 ++- components/lib/autocomplete/autocomplete.d.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/lib/autocomplete/AutoComplete.js b/components/lib/autocomplete/AutoComplete.js index 940480e58c..56843642ba 100644 --- a/components/lib/autocomplete/AutoComplete.js +++ b/components/lib/autocomplete/AutoComplete.js @@ -659,7 +659,7 @@ AutoComplete.displayName = 'AutoComplete'; AutoComplete.defaultProps = { __TYPE: 'AutoComplete', id: null, - appendTo: null, + appendTo: 'self', autoFocus: false, autoHighlight: false, className: null, @@ -667,6 +667,7 @@ AutoComplete.defaultProps = { delay: 300, disabled: false, dropdown: false, + dropdownAriaLabel: null, dropdownAutoFocus: true, dropdownIcon: 'pi pi-chevron-down', dropdownMode: 'blank', diff --git a/components/lib/autocomplete/autocomplete.d.ts b/components/lib/autocomplete/autocomplete.d.ts index 1185754791..ef4131b265 100755 --- a/components/lib/autocomplete/autocomplete.d.ts +++ b/components/lib/autocomplete/autocomplete.d.ts @@ -55,6 +55,7 @@ export interface AutoCompleteProps extends Omit; dropdownMode?: string;