Issue
Why is md-chip not supporting ng-repeat?
<md-chips>
<md-chip data-ng-repeat="category in book.categories">
{{category.name}}
</md-chip>
</md-chips>
Solution
with angular 1.3.15 / angular-material 0.9.8, the following works here:
in the controller:
$scope.myNumbers = [ 1, 2, 3 ];
in the HTML:
<md-chips ng-model="myNumbers" readonly="true">
</md-chips>
Answered By - Remigius Stalder
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.