I want to open or close mat-select programmatically, i.e.
Here, is my code, now, I want to control open or closed list from the component.
"*Cities" - name="fromCity"
- [(ngModel)]="studentModel.City"
- (click)="openDialog()"
- required>
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mahesh VermaRank #475 · 5.2K reputationPosted May 28, 2018, 12:05 AM EDT
Reena Lakra146 reputationPosted May 28, 2018, 1:04 AM EDT