Questions tagged [md-select]

77 questions
1
vote
2 answers

Setting selected item in angular md-select with multiple option

Setting selected item in angular md-select with multiple option
ReNiSh AR
  • 2,782
  • 2
  • 30
  • 42
1
vote
3 answers

Angular Material Default CSS Change ( md-select )

I'm interested in changing the default material blue color to say "green" in dropdown box. I am not able to find the div class responsible for this transition, any help much appreciated. DEMO from materials Website Changing the…
Mad-D
  • 4,479
  • 18
  • 52
  • 93
1
vote
1 answer

Can I use md-select and have one option select multiple options?

I have the following small sample: 10 Years What I want is when the user selects the…
WorldSEnder
  • 4,875
  • 2
  • 28
  • 64
1
vote
2 answers

Angular material md-select empty value validation not working

In md-select, I have added an empty md-option item and this select field is a required field. But Validation is not working when I selected 'Choose One' item with value as empty. Codepen : http://codepen.io/anon/pen/ygrJLG
Rookie
  • 429
  • 5
  • 16
1
vote
1 answer

Angular Material 2: md-select doesn't show initial value

Good evening, I'm using Angular Material 2.0.0 beta1, and I've got troubles with md-select. Here is the code:
1
vote
2 answers

change function on md-select doesn't work? angular2

This is the html: {{supervisor}} This is the method in the…
Kim Vu
  • 584
  • 9
  • 25
1
vote
1 answer

How to programmatically set a value to md-select

Im following this doc for md-select initial value setting. But i would like to set the value of md-select programmatically through buttons. Here is what ive'd done so far DEMO
Shift 'n Tab
  • 8,808
  • 12
  • 73
  • 117
0
votes
1 answer

Is there any way to set selected option in Vue DatePicker?

I am using Vue Material - Select component in my vue js project. I want to set the selected value of the component dynamically. I have gone through the documentation https://www.creative-tim.com/vuematerial/components/select and couldn't find the…
0
votes
1 answer

How to get previous value of md-select in Angular

I have this md-select
pranami
  • 1,381
  • 5
  • 22
  • 43
0
votes
1 answer

angular js multiple select to single drop down conversion

I have a multiselect drop down but I only want to select one of the options and then when that modal opens have that dropdown selection saved. right now the dropdown is multi and when i close the modal, the values are still selected. I want this…
0
votes
3 answers

How to populate mat-option with elements from an array received from api

I have an issue and i think im missing something because i cant populate the md-option with the elements received from an API. Here is the service.ts where i make the call and i try to retrieve the data from the API. getCars(){ …
0
votes
0 answers

How to make selected option show first in options?

I am using Material in AngularJs. And I have noticed that when ng-model has a value which lies after a few options, the select opens above the wanted place. Is there any way to fix that? Here is a link to…
Haris
  • 21
  • 1
  • 2
  • 6
0
votes
0 answers

ng-materials md-select change style to look like bootstrap dropdown

I am using angularjs and ng-material in my project. I want to make md-select dropdown look like bootstrap dropdown. Attached the dropdown link for the Reference.. I have added animations and it working fine but the prob is when the dropdown is…
Xenio Gracias
  • 2,728
  • 1
  • 9
  • 16
0
votes
1 answer

Selected option Angular 4, ngValue don't work

Im trying to have a selected option when I receive the object workOrder.supplier, I tryed NgValue, ng-selected, compareWith but dont work, I dont know Why... this project use Angular 4. You have another option to I try?
0
votes
1 answer

Replace md-select separator character

When md-select is used with multiple option, and multiple options are selected it separates the them using commas. I want to apply custom styling to the selected options which are being displayed and therefore want to get rid of the automatically…
Masroor
  • 1,484
  • 3
  • 14
  • 23