Questions tagged [md-select]
77 questions
25
votes
4 answers
Angular 2 material mat-select programmatically open/close
Does any one know how to programmatically open or close mat-select? As pert the api there are methods for open and close but don't know how to call those methods from component and there isn't any example showing that on site.
Thanks

Bhavesh
- 819
- 1
- 17
- 31
10
votes
1 answer
md-select works only in first click on OS X
I'm using angularjs (1.x) and angular-material in an electron app. I have two md-selects in a view, and when I try to use it in windows everything works ok. But when I use it in OS X, the md-select stops working after the first click. I click it and…

Jean Robert
- 749
- 1
- 7
- 20
8
votes
2 answers
How to set default value in md-select
This is my angular code I want to set default value as 300mb
300mb
400mb

Lakmi
- 1,379
- 3
- 16
- 27
6
votes
3 answers
AngularJS: How can I select multiple checkboxes using shift and mouse click?
Is it possible to use shift and mouse click to select multiple elements on a table using AngularJS?
I have a table in which the first column is a checkbox and I would like to use SHIFT key and mouse click in order to select multiple rows…

Dimitris Makris
- 461
- 5
- 16
5
votes
3 answers
How to disable md-select
I need to disable a md-select but I couln't find it in the Angular documentation.
This is my code:
…

Roby Sottini
- 2,117
- 6
- 48
- 88
4
votes
1 answer
Angular Material md-select load options in async way
I need to load select's options asynchronously (
through a service), using the Angular Material md-select component.
Actually, I use a click event to load data. It works but I need to click the select twice to show the options. That it's a…

theShadow89
- 1,307
- 20
- 44
4
votes
2 answers
Angular-Material : md-select in md-dialog not closing
I've created a simple directive that consists in a form with few md-input and one md-select.
I've used my directives in a few pages now and everything works fine, but now i would like to use it inside an md-dialog and it's not working as expected, i…

Freego
- 456
- 7
- 18
4
votes
3 answers
angular material md-select to show the dropdown on focus
I have a form and has a bunch of md-selects, text fields and so on. It is a large form and the users expect to press tab and navigate through different form fields. When md-select receives focus via tab key press, it doesnt show the dropdown. An…

jose
- 143
- 2
- 13
4
votes
3 answers
Angular Material2 md-select dropdown appears at bottom of the page
I'm currently using Angular Material2 in an Angular 2.4.0 application (using @angular/material: 2.0.0-beta.1). For some reason, the md-select dropdown, instead of appearing over the initial value or placeholder or arrow to select the dropdown, as…

NColey
- 525
- 1
- 6
- 18
3
votes
1 answer
Angular-material - Change separator in md-select multiple option
I have an md-select in my form with multiple options (same as demo in Angular Material site). It shows a comma separated list of selected options in its input field. Is there any way to change separator? (for example change comma to star or another…

hadi.mansouri
- 828
- 11
- 25
2
votes
0 answers
AngularJS material - set parent div for
I'm using AngularJS material 1.1.8. And I have a md-select element with md-option that uses ng-repeat to populate the list items:

Shoham Ben-Har
- 317
- 1
- 4
- 16
2
votes
1 answer
md-select md-selected-html expression not firing corresponding method
Attempting to use the md-selected-html expression that can be seen on this page. :
https://material.angularjs.org/latest/api/directive/mdSelect
There are no examples of this usage on the interwebs that I have been able to find. I have been able to…

Bill Blankenship
- 3,316
- 6
- 43
- 73
2
votes
1 answer
Angular2 : nested *ngFor + md-select
I'm working on a little project in Angular2 (I'm a beginner).
Basically it involves an array and up to three Material Angular Select forms to pick values from it.
Here is the plunker : https://plnkr.co/edit/700zL1tDxml0zQwF6yj6?p=preview
JS…

magnetosergio
- 23
- 3
1
vote
1 answer
AngularJS - how to style md-select dropdown?
I am new to "angularjs".
I need to give border to the dropdown and set font size of the contents of the dropdown. I tried to style in the following manner, but it doesn't work -

devman
- 496
- 5
- 24
1
vote
0 answers
How to implement required validiation in md-select using custom directive template for md-select in angularJS?
I am setting up custom template for md-select using custom directive but form validiation and required validiation is not working. This is for refactoring template of md-select using custom directive as md-custom-select.
I have created template of…

Subash Maharjan
- 11
- 2