You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Maxence Warzecha, Vasilisa Versus, Roman Hotsiy, triarc laboratories Ltd, Stephen Rodriguez, Shameer KC, kreed-rmn, Anya Reyes, Paul Gschwendtner, Tucker Lein and 48 more
When we can expect a version of select to be available.
Reacted by elvirdolic, Alvaro Cruz, Inseok Lee, Jacob, Ghazal A, Val Redchenko, Tucker Lein, Christophe HOARAU, Benjamin MARCHAND, Bryant Pham and 37 more
Both blockers closed. Can we expect md-select soon?
Reacted by Rein, Vladimir, Roman Hotsiy, Sercan Değirmenci, Tomás de Priede, Praveen Puglia, Bryant Pham, Adam Cook, Rodrigue Villetard, corey-waymark and 15 more
It would be great if md-select and other similar components (menu, dialog, etc) were based on a foundation component such as material 1 md-panel (https://material.angularjs.org/latest/api/service/$mdPanel). Is the team considering this as a design?
@jelbourn when do you anticipate the design doc being ready? It's not yet up in the Design doc directory. Since you'll support multi-select (mentioned here), will you also support searching the list (i.e. filtering down the list) in the case of very large lists - to facilitate finding an item less cumbersome? Also, a check-all/clear for multi-select?
Reacted by Chris, Richard Klose, Aleš, Sede Soukossi, Dave Benjamin, Christophe Vidal, Bryan Natter and Tomasz
Reacted by kjartanvalur, Nektarios Konstantinidis, Zéfling and wiltonpolesca
Reacted by Timothy Soehnlin, Craig Goldstone, Roland Groza, Philipp Schürmann, Christophe MAILFERT, Aderbal Nunes, Dustin Griffith, EasyMetrics Operations, Andžej Maciusovič, Boris Lemke and 3 more
I'm using @angular/material@2.0.0-beta.1 and I'm facing the problem that the selection list is always displayed at the bottom of the page. How can I fix that?
Finally I solved the problem by adding a CSS file as discribed in: https://material.angular.io/guide/theming. Since we are working with CLI I did as follows: If you're using Angular CLI, this is as simple as including one line in your style.css file: @import '~@angular/material/core/theming/prebuilt/deeppurple-amber.css';
I'm having an issue with md-select not working with reactive forms, it seems the initial value is not getting set, am I doing something wrong or is this a bug? Here is a plnkr....
@zerouno62, I had the same problem menu would shoot up to the top left, had to put position:absolute on the .cdk-overlay-pane class. I used a <style> block in index.html, not ideal but solved my issue
This was asked previously, but there is no answer - ngValue binding doesn't work with md-option, how can we use md-select with objects as option values?
(literally add md- prefix to tags) the value is NOT preselected. That's also when using API for filling options, angualr/material 2.0.0.-beta.1, angular 2.4.3
I'm closing this thread since it's gone somewhat off-topic. If you encounter issues with md-select please file an issue following the issue template. For questions / help, try gitter and Stack Overflow.
Activity
[-]mdSelect[/-][+]md-select[/+]bhardwaj2607 commentedon Apr 27, 2016
When we can expect a version of select to be available.
JesusSD commentedon May 24, 2016
Please make a editable md-select!
maciejtreder commentedon Jul 6, 2016
Both blockers closed. Can we expect md-select soon?
henrymana commentedon Jul 12, 2016
It would be great if md-select and other similar components (menu, dialog, etc) were based on a foundation component such as material 1 md-panel (https://material.angularjs.org/latest/api/service/$mdPanel). Is the team considering this as a design?
jelbourn commentedon Jul 12, 2016
@henrymana they are.
esinek commentedon Aug 9, 2016
@jelbourn when do you anticipate the design doc being ready? It's not yet up in the Design doc directory. Since you'll support multi-select (mentioned here), will you also support searching the list (i.e. filtering down the list) in the case of very large lists - to facilitate finding an item less cumbersome? Also, a check-all/clear for multi-select?
abalad commentedon Sep 9, 2016
There is the possibility of being implemented some things this plugin JS? http://selectize.github.io/selectize.js/
fxck commentedon Sep 17, 2016
@jelbourn @kara could you please answer @esinek's question?
54 remaining items
biiit commentedon Jan 6, 2017
@alan345 Make sure to import @angular/forms in your module.
vivian7169 commentedon Jan 6, 2017
phmello commentedon Jan 10, 2017
I think I got a scenario
and them
When the expression is true and the component is rendered the value is not selected.
zerouno62 commentedon Jan 10, 2017
I'm using @angular/material@2.0.0-beta.1 and I'm facing the problem that the selection list is always displayed at the bottom of the page. How can I fix that?
Finally I solved the problem by adding a CSS file as discribed in: https://material.angular.io/guide/theming. Since we are working with CLI I did as follows:
If you're using Angular CLI, this is as simple as including one line in your style.css file:
@import '~@angular/material/core/theming/prebuilt/deeppurple-amber.css';
csyperski commentedon Jan 12, 2017
I'm having an issue with md-select not working with reactive forms, it seems the initial value is not getting set, am I doing something wrong or is this a bug? Here is a plnkr....
https://embed.plnkr.co/p7Fm9lC4TxoVaZ8ydYf0/
kriswinbush commentedon Jan 12, 2017
@zerouno62, I had the same problem menu would shoot up to the top left, had to put position:absolute on the .cdk-overlay-pane class. I used a <style> block in index.html, not ideal but solved my issue
clembu commentedon Jan 15, 2017
@zerouno62 at least you have a selection list
My
md-selectdoesn't create an overlay, so I'm left with a non-reactivemd-select(using2.0.0-beta.1, and Electron if that's relevant)Any idea why?
SalmaKolkari commentedon Jan 16, 2017
Toggling theme not applying for md-select. By default it is applying the light-theme even though we are toggling the theme from light to dark..
ig16022 commentedon Jan 17, 2017
This was asked previously, but there is no answer - ngValue binding doesn't work with md-option, how can we use md-select with objects as option values?
BhattaRj commentedon Jan 18, 2017
I am using beta-1 Initial value is not set when data for options are loading form api.
zerouno62 commentedon Jan 19, 2017
@BhattaRj
If you set the initial value in the model ([(ngModel)]="...") the corresponding option will be selected.
brunoAltinet commentedon Jan 19, 2017
Hello, I have the same problem as @BhattaRj. if I do this:
<select placeholder="Partner" [(ngModel)]="model.partnerGuid"><option *ngFor="let partner of partners" [value]="partner.guid">{{ partner.name }}</option></select>The value gets preselected according to the binding. If i change it to
(literally add md- prefix to tags) the value is NOT preselected. That's also when using API for filling options, angualr/material 2.0.0.-beta.1, angular 2.4.3
jelbourn commentedon Jan 19, 2017
I'm closing this thread since it's gone somewhat off-topic. If you encounter issues with md-select please file an issue following the issue template. For questions / help, try gitter and Stack Overflow.