Questions tagged [md-select]

77 questions
0
votes
0 answers

md-select options still visible when closing md-dialog

I have a md-dialog with two md-select directives in it. When I hit the md-select then close the dialog, the options are still visible.. I searched on google and github but I can't find any information on this behaviour. Here's a screenshot to…
Antoine Thiry
  • 2,362
  • 4
  • 28
  • 42
0
votes
1 answer

Angular Materials md-select and trackBy allowing options to be selected

I'm trying to customise this Angular Material example code (https://material.angularjs.org/latest/api/directive/mdSelect) to my needs. I have three groups of select options. If an option is selected in a group, it should unselect all options in…
0
votes
0 answers

disable selected value in md-select

I have a table which has md-select in all the rows which come dynamically from ng-repeat. how to restrict the selected value from md-options in one row to not to get visible in other rows.. here is the code I used for md-select
Priyanka D L
  • 171
  • 1
  • 8
0
votes
2 answers

Converting md-switch to md-select

I'm working on this dynamic filter system using AngularJs and trying to figure out how to convert the color and size options to be in two dropdowns (one for each category). I've tried the following code which does successfully add the dropdown along…
Mikel
  • 117
  • 11
0
votes
1 answer

Set default value on md-select When Value is an Object Angular4 Angular-Material

I'm trying to pass an object, rather than a string, out of an md-select change event. This works fine, however, I am unable to preselect a value on load:
AnotherMike
  • 2,633
  • 2
  • 16
  • 15
0
votes
1 answer

md-select not binding with object.value

I'm trying to binding a Material Design Select on angular 4 with a number property of a object. Like this:
Hanzo
  • 1,839
  • 4
  • 30
  • 51
0
votes
1 answer

md-chips deletion by clicking the chip

I'm new to angularJS. I'm using md-chips to create chips based on drop down selection. For mobile view, i would like to delete the md-chips by clicking the chip instead of making the user click the small 'X' on the chip. If i make it read-only i…
nash63
  • 59
  • 1
  • 12
0
votes
1 answer

Issue in accessing $scope variable in $mdDialog Controller - AngularJs 1.X.X

I'm using $mdDialog and I specified a Controller which is present in another js file. Parent Js Controller: $scope.AddDesignationPrompt = function(ev) { $mdDialog.show({ controller: 'AddDesignationPromptController', templateUrl:…
user7784919
0
votes
1 answer

Issues in getting a value of a key from an object using md-select AngularJs 1.X.X

I'm having an issue in getting a Value of a Key from an Object which is selected using md-select in a AngularJs application (Version 1.X.X). I having a two drop downs "Department" and "Designation". Initially I loaded the Department and based on…
user7784919
0
votes
1 answer

Issues in md-select using nested JSON - AngularJs 1.X.X

I having a two drop downs "Department" and "Designation". Initially I loaded the Department and based on Department selection, the Designation will auto populate. Kindly have a look into the JSON object { "Status":true, "Message":"", …
user7784919
0
votes
1 answer

angular material 1.1.0 - md-select appends [object object] on open click

whenever i click to open the md-select input an [object Object] (string) is append to the body tag Clicking md-select input Body after clicked one time md-select
Brian
  • 23
  • 2
  • 4
0
votes
1 answer

Angular 2 md-select don't bind selected value when populate from Observable array

I have angular2 reactive form which contains md-select to make user select doctor from firebase md-select works fine when data exists before rendering the component but if data coming async as observable it doesn't show selected value …
0
votes
1 answer

Click outside md-select is not working

select in dialog - angular material - mdpanel using sample md-select but click outside the select when the options are open is not working. how can I fix it ? thx a lot html:
Scopi
  • 663
  • 1
  • 6
  • 21
0
votes
2 answers

Angular material md-select - cant open the box with selected user

Hi the selectbox is show the selected item but i cant open the dropdown at all I am using form in the mdpanel its not working in dialog on mdpanel how can i fix it i need form with edit user and i need select box that initialize with one of the…
Scopi
  • 663
  • 1
  • 6
  • 21
0
votes
2 answers

md-select is not getting values from controller angular js

This is my code that does not getting options for md-select. This html is not the main page. This is my first angularjs application, I am new to angular js, please help me. Is there anything do i need to add?
MinnuKaAnae
  • 1,646
  • 3
  • 23
  • 35