[Angular Material] 搜尋式下拉選單範例
範例 https://stackblitz.com/edit/filter-select 來源 https://forum.angular.tw/t/topic/1722/4 HTML < mat-card > < p mat-card-title > Angular Material Select With Filter </ p > < mat-divider ></ mat-divider > < mat-card-content > < br >< br > < mat-form-field style = "width: 100%;" > < mat-label > Pick a language </ mat-label > < mat-select [ formControl ] = "control" > < mat-option disabled > < input type = "text" matInput [ formControl ] = "filter" placeholder = "Filter..." > </ mat-option > ...

留言
張貼留言