Hi,
I'm having a problem with mdSelect + ngRepeat with objects in the value.
When i initialize the ngModel value while loading the page (like i would if i was, for example, editing some object i get from the server).
The mdSelect doesn't match my object and have it selected as it does when i use something as simple as an array of strings.
try ng-value="val.value" on the md-option.
@JerrodLong Didnt work for me. Also tried your way using track by val.value in the ngRepeat with no success :disappointed:
Problem solved!
Turns out i had to use ng-model-options="{trackBy: 'someVal.value'}"
It would be nice to see this in the documentation
Or just do this: ng-disabled="$index === 1"
This is documented now in https://material.angularjs.org/latest/api/directive/mdSelect#selects-and-object-equality
Most helpful comment
Problem solved!
Turns out i had to use ng-model-options="{trackBy: 'someVal.value'}"
It would be nice to see this in the documentation