ng-options="key as key for (key,value) in properties.myMap"
I want to create a dropdown in angular using ng-options. I have a map whose key I use as value and label for the dropdown element.
I want to disable the dropdown elements based on the value of the (key, value) pairs in the map. How do I do this?
Try this ng-option= "item as item.label disable when item. disabled for item in items track by item.id
Use angular 1.4