Skip to content

Commit

Permalink
Merge pull request #6322 from gucal/issue-6297
Browse files Browse the repository at this point in the history
 #6297 Dropdown: Focus change when editable and filter enabled
  • Loading branch information
gucal authored Apr 8, 2024
2 parents b23a0d6 + d23eacd commit 1e7a386
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
{
Expand Down
2 changes: 1 addition & 1 deletion components/lib/dropdown/DropdownBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion components/lib/dropdown/dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export interface DropdownProps extends Omit<React.DetailedHTMLProps<React.InputH
filterClearIcon?: IconType<DropdownProps> | undefined;
/**
* When the panel is opened, it specifies that the filter input should focus automatically.
* @defaultValue true
* @defaultValue false
*/
filterInputAutoFocus?: boolean | undefined;
/**
Expand Down

0 comments on commit 1e7a386

Please sign in to comment.