Questions tagged [md-select]
77 questions
1
vote
1 answer
md-select and required doesn't detect empty value
I am trying to make a select option has required using angularjs and md-select.
The problem is, is not doing anything.
I've seen multiple issue on github, but no valid fix.

Bobby
- 4,372
- 8
- 47
- 103
1
vote
2 answers
I want a blank option with md-select and I want it not to validate when required
I'm using Angular Material and md-select and I would like to make a blank option such that when you select it, you have no value in the select. In the case that I make it required, then I would like this option returning false at the check.
Here's…

Bobby
- 4,372
- 8
- 47
- 103
1
vote
1 answer
AngularJS: get the order of selection in md-select multiple
When I select two options in , I got array of two values. My question is how to get the order of selection?
For example in the codepen, when I select One first, and then select Two, I got ['1','2']. Is it possible that I can get ['2','1']…

WCMC
- 1,602
- 3
- 20
- 32
1
vote
2 answers
Dynamically uncheck multiple select options in md-select angular 4.x
I am trying to implement on click of a button in mat-select multiple, an option should get unchecked and should be removed from the checked list too.
for removing the selected option I have written my code as below :
mat-select…

Chaitanya Chauhan
- 743
- 1
- 11
- 28
1
vote
0 answers
Angular Material 2 : MdSelect dropdown overlay positionning
I have implemented the select component of Material Angular and the dropdown overlay is placed over the select field like that :
I would like to place the dropdown at the bottom of the select field.
In fact, the placement of the overlay is…

rachelle
- 91
- 1
- 6
1
vote
2 answers
Focus custom md-checkbox in md-select control
I have implemented select control with select all option, When I open the control, it focuses on the first option. I would like to focus on the select option or at least disable the focus.
HTML

Alex Lavriv
- 321
- 1
- 10
1
vote
1 answer
Angular2 md-select remove arrow after selecting option
I have a value selected from the md-select but the "arrow" from the md-select still shows after selection.
HTML

Ram
- 527
- 1
- 10
- 26
1
vote
0 answers
Angular2 Material Design Select Component - Styling selected Item
I'm using the component of Angular2 Material to switch list layouts (grid or bullet list).
When a layout has been chosen, the select-box should only show an icon. When choosing a layout the menu is showing both the icon and text.
Here's…

Thomas
- 4,030
- 4
- 40
- 79
1
vote
0 answers
md-select-menu-container not closing on focus out
I am using md-select element and when I am selecting value form dropedown it's getting closed. But on focus out it's not closing.
I created a directive to manually remove the container and container also gets removed, but after that md-select is not…

Ritu Gupta
- 507
- 2
- 8
- 22
1
vote
1 answer
on ng-click of md-option - Change ng-model of md-select
I've md-select with multiple options enabled.
By default ng-model of md-select does have one OBJECT value as array element.
on click/on selection of md-option - I want to update ng-model of md-select (Parent md-select)

Enigma
- 749
- 1
- 13
- 35
1
vote
1 answer
Clear button for md-select arrow overflow
I have a md-select inside md-grid-list which is part of md-card content that looks like this:

greengold
- 1,184
- 3
- 18
- 43
1
vote
0 answers
Angular md-option dropwdown value resets to [0] value after Save() runs
I have an Angular form that contains md-option dropdowns to fill out details for a project. One of those dropdowns is for a list of cities, which generates based on the State/Region that is selected. When the user clicks Save (Save()) on a newly…

Jake Steinerman
- 41
- 3
1
vote
2 answers
Angular material md-select not closing when in mdDialog
I am using angular material version 1.1.4, angular version 1.5.9 and I have the following issue with an md-select directive.
I open a dialog using $mdDialog service on a click of a button. The dialog is fullscreen. Inside I have multiple inputs,…

Florin Mateescu
- 197
- 2
- 12
1
vote
0 answers
Angular reverse timer and md-select
I want to create cyclic reverse timer and user should be able choose the origin number. In my md-select should be selected value which equal 10. I tried to resolve this issue by using variable countbut it is associated with the first value…

Kris
- 121
- 1
- 10
1
vote
1 answer
Cannot set default value for md-select in angular 2
I am not able to set value for md-select in angular 2. I am populating the select list from constructor like:
constructor() {
this.testService.getTypes()
.subscribe(result => {
if (result.code === 200) {
…

Phoenix Dev
- 457
- 5
- 19