You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
I'm having the same trouble. The following code doesn't work.
<md-chips>
<md-chip ng-repeat="i in [1, 2, 3]">Normal Static Chip</md-chip>
</md-chips>
But weird thing is that, I have the below code in a page and the ng-repeat is populated from an array in scope. No chips are shown. Then I navigate to another page and press the browsers back button. Suddenly all the chips are displayed properly.
Activity
ahmadhsalim commentedon Jun 28, 2015
I'm having the same trouble. The following code doesn't work.
But weird thing is that, I have the below code in a page and the ng-repeat is populated from an array in scope. No chips are shown. Then I navigate to another page and press the browsers back button. Suddenly all the chips are displayed properly.
dmackerman commentedon Jun 29, 2015
You can bind
md-chipsto anng-modelarray and it will populate, but yeah - it's totally broken with `ngRepeat. :(cnjsstong commentedon Jun 29, 2015
@dmackerman Thanks.
Actually, @ahmadhsalim 's issue can have a workaround with
ng-model.However, my example is also quite common but can not be achieved now.
ahmadhsalim commentedon Jun 30, 2015
How can I use a workaround? What I want is static chips that cannot be edited. With ng-model bound to an array, it's not giving me static chips.
cnjsstong commentedon Jun 30, 2015
@ahmadhsalim Just make the chips
readonlyin addition. Please go to #2829 which is the correct issue for you.fix(mdChips): Fix error with audocomplete inside readonly chips and a…
fix(mdChips): Fix error with audocomplete inside readonly chips and a…
fix(mdChips): Fix error with audocomplete inside readonly chips and a…
fix(mdChips): Fix error with audocomplete inside readonly chips and a…