From 66c7c640b3d0b3d06b6fb5ee9a3d1c2d2ed81ca7 Mon Sep 17 00:00:00 2001 From: gucal Date: Mon, 8 Apr 2024 13:42:03 +0300 Subject: [PATCH 1/2] Fix #6297 - Dropdown: Focus change when editable and filter enabled --- components/lib/dropdown/DropdownBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/dropdown/DropdownBase.js b/components/lib/dropdown/DropdownBase.js index 257e1f976a..005a14a8f5 100644 --- a/components/lib/dropdown/DropdownBase.js +++ b/components/lib/dropdown/DropdownBase.js @@ -178,7 +178,7 @@ export const DropdownBase = ComponentBase.extend({ filterBy: null, filterClearIcon: null, filterIcon: null, - filterInputAutoFocus: true, + filterInputAutoFocus: false, filterLocale: undefined, filterMatchMode: 'contains', filterPlaceholder: null, From d23eacdb982b04663df895d21669930fce551b13 Mon Sep 17 00:00:00 2001 From: gucal Date: Mon, 8 Apr 2024 13:43:05 +0300 Subject: [PATCH 2/2] #6297 - d.ts & apidoc update --- components/doc/common/apidoc/index.json | 2 +- components/lib/dropdown/dropdown.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/doc/common/apidoc/index.json b/components/doc/common/apidoc/index.json index 2e08e993df..4f98e6c2fe 100644 --- a/components/doc/common/apidoc/index.json +++ b/components/doc/common/apidoc/index.json @@ -23020,7 +23020,7 @@ "optional": true, "readonly": false, "type": "boolean", - "default": "true", + "default": "false", "description": "When the panel is opened, it specifies that the filter input should focus automatically." }, { diff --git a/components/lib/dropdown/dropdown.d.ts b/components/lib/dropdown/dropdown.d.ts index 2381f21566..580a4a8ba3 100644 --- a/components/lib/dropdown/dropdown.d.ts +++ b/components/lib/dropdown/dropdown.d.ts @@ -326,7 +326,7 @@ export interface DropdownProps extends Omit | undefined; /** * When the panel is opened, it specifies that the filter input should focus automatically. - * @defaultValue true + * @defaultValue false */ filterInputAutoFocus?: boolean | undefined; /**