-
Notifications
You must be signed in to change notification settings - Fork 1.8k
choice ng-repeat doesn't allow for "(key,value) in object" #247
Comments
👍 |
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 similar comment
+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 |
@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 |
+1 |
+1 for this |
+1 |
4 similar comments
+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. |
just for fun...lol. |
+1 |
1 similar comment
+1 |
+2 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
PR #1208 should resolve this. Let me know comments |
@dimirc thank you for your update. //When an object is used as source, we better create an array and use it as 'source'
var createArrayFromObject = function(){
$scope.$uisSource = Object.keys(originalSource($scope)).map(function(v){
var result = {};
result[ctrl.parserResult.keyName] = v;
result.value = $scope.peopleObj[v];
return result;
});
}; I created the PR with the fix here: #1217 |
@ebergama my bad. Merged, thanks! |
+1 |
1 similar comment
+1 |
+1s |
http://plnkr.co/edit/JHKjnlzaAhecwH5K4yLr?p=preview
The text was updated successfully, but these errors were encountered: