Skip to content

Commit

Permalink
Resolve select component not clearing search input on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
chromaticWaster committed Sep 26, 2024
1 parent f02b579 commit 6c077a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export class Select extends OmniFormElement {
_togglePopup() {
if (this._popUp) {
this._popUp = false;
this._searchValue = undefined;
this._onSearchFieldClear();
if (this._isMobile) {
const itemsDialog = this.renderRoot.querySelector<HTMLDialogElement>('#items-dialog');
if (itemsDialog) {
Expand Down

0 comments on commit 6c077a5

Please sign in to comment.