fix(select): select.click() opens the menu

PiperOrigin-RevId: 622981111
This commit is contained in:
Material Web Team 2024-04-08 16:19:44 -07:00 committed by Copybara-Service
parent df6923e85c
commit 7a6cf16a4e

View File

@ -825,6 +825,10 @@ export abstract class Select extends selectBaseClass {
this.value = state;
}
override click() {
this.field?.click();
}
[createValidator]() {
return new SelectValidator(() => this);
}