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 Apr 12, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I'm creating the form for objects items. One of the item is array of items. So i use ng-repeat to iterate over it. Each of them is input text field. So I got the like:
<divclass="control-group" ng-repeat="(key, item) in object.items"><divclass="controls><input type="text" ng-model="object.items[key]"/></div></div>
When I'm trying to enter some code after each entered word my input gets unfocused and to continue I need to focus on it again using cursor. If I use html ng-model="item" instead of htlm ng-model="object.items[k]" The input field bacames blocked and uneditable
Firebug doesn't show any error logs or alerts. But seems it should work in this way
the funny thing is that if i use objects object instead of array it works fine. But. what for do i need to save additional keys in db if I can use simple one dimensional array... (((
Activity
dcu commentedon Jan 19, 2013
I am having the same issue
ajeliuc commentedon Jan 20, 2013
the funny thing is that if i use objects object instead of array it works fine. But. what for do i need to save additional keys in db if I can use simple one dimensional array... (((
petebacondarwin commentedon Jan 20, 2013
This is a bug in Angular. Here is a fix: #1661
ajeliuc commentedon Jan 20, 2013
@petebacondarwin Thx! 👍
ajeliuc commentedon Jan 21, 2013
@petebacondarwin I expirience problems merging your repeat branch with current master. May you help me?
petebacondarwin commentedon Jan 21, 2013
I have rebased and pushed the branch. It should fast forward onto master now
ajeliuc commentedon Jan 21, 2013
It was helpful! ) @petebacondarwin Thank you!
Although in the end of
rake packageI get:generally it works perfectly fine as it should )
adonespitogo commentedon Feb 20, 2015
Hi, since this issue has been closed as well as pull request #1661, has this issue been fixed somewhere else?
petebacondarwin commentedon Feb 24, 2015
This is fixed in most versions of angular. See http://plnkr.co/edit/EghJVcFd7cbEiJ0zDmhr?p=preview