i am using the ui-select and would like to use the selected item outside the ui-select control. I tried using {{$select.selected.name}} but this did not work. I want to reuse it in an ng-repeats filter.
Asked
Active
Viewed 166 times
0
-
1A jsfiddle link would be greatly appreciated. – jlowcs Mar 13 '15 at 17:39
1 Answers
0
Solved!
I have used
<ui-select ng-model="listOfCategoryTypes.ID" ...
When i use {{listOfCategoryTypes.ID}} outside the ui-select it give the JSON Object. When i extend
{{listOfCategoryTypes.ID.Name}}
with .Name (i have a property called Name), then i get the properties value!

STORM
- 4,005
- 11
- 49
- 98