Skip to content

Commit

Permalink
fix(select): select.click() opens the menu
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622981111
  • Loading branch information
material-web-copybara authored and copybara-github committed Apr 8, 2024
1 parent df6923e commit 7a6cf16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions select/internal/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,10 @@ export abstract class Select extends selectBaseClass {
this.value = state;
}

override click() {
this.field?.click();
}

[createValidator]() {
return new SelectValidator(() => this);
}
Expand Down

0 comments on commit 7a6cf16

Please sign in to comment.