feat(select): Add select header to the md-select
See original GitHub issueBug, feature request, or proposal:
Feature request
Yesterday I filled a pull request ( #2797 ) for adding a search bar in the md-select component. As @jelbourn pointed out this wasn’t the right way to add this feature, so now I’m willing to do it the right way. What’s the best way to address this? Just implement the same functionality as material does it?
That will mean something like this is possible:
<md-select placeholder="Favorite food">
<md-select-header>
<input [ngModel]="searchTerm" type="search" placeholder="Search for a vegetable..">
</md-select-header>
<md-option *ngFor="let food of foods | filter " [value]="food.value">
{{ food.viewValue }}
</md-option>
</md-select>
Issue Analytics
- State:
- Created 7 years ago
- Reactions:23
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Directives > mdSelect - AngularJS Material
Parameter Type Description
* ng‑model expression expression Assignable angular expression to data‑bind to.
placeholder string string Placeholder hint text.
Read more >Angular Material: md-select-header inside tab not working
I am having a trouble regarding this problem. I am using: Angular Material 1.1.0. Angular 1.5.5. The problem occurs when I put the...
Read more >Learn Angular Material - Full Tutorial - YouTube
Learn how to use Angular Material in this full tutorial course for beginners. Angular Material is a UI component library for Angular JS ......
Read more >Andrew King resigns from managing director role at Select ...
Andrew King MD Select & Save. Andrew King has resigned from his position of managing director of Select & Save.
Read more >Ui-select, md-select - JSFiddle - Code Playground
<md-select-header class="demo-select-header"> ... See feat(jqLite): use querySelectorAll instead of getElementsByTagName in ... Add closest() to jqLite.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s a pending pull request at https://github.com/angular/material2/pull/7835.
Still no? More than 1 year passed