choice ng-repeat doesn't allow for "(key,value) in object"
http://plnkr.co/edit/JHKjnlzaAhecwH5K4yLr?p=preview
<div class="form-group">
<ui-select ng-model="selectedBlah" theme="bootstrap">
<ui-select-match placeholder="Choose a blah...">{{$select.selected}}</ui-select-match>
<ui-select-choices repeat="(key, value) in blahs | filter: $select.search">
<div ng-bind-html="key"></div>
</ui-select-choices>
</ui-select>
</div>
:+1:
Yes, it's not supported... kinda ticked me off too....
+1 for the support.
Is this on the roadmap? Or has this not been implemented because of restrictions with angular? I've heard that angular doesn't offer a native filter for ng-repeat="(key, value) in object", but are there ways around that?
+1 for the support on this.. This is the only thing preventing me from using ui-select!
+1 for this as well.
+1 for this as well.
It would be interesting to see how single value binding would work with this.
+1 would be very helpful
+1 Cannot use ui-select because of this.
You could always use Object.keys() to make an array
@amcdnl Thanks, but I had to use another directive. Too bad, ui-select is awesome when it works!
@amcdnl Thanks for the tip. I am currently using Object.keys() as a workaround in one of my projects, but it is just that - a workaround.
+1
+1 for this
+1
+1
+1
+1
+1
Stop writing +1 now. I think if the developer is interested in implementing this, he'll get around to doing it. +1's are not adding any weight apart from elongating this list.