-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Input unfocus in ng-repeat #1842
Comments
I am having the same issue |
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... ((( |
This is a bug in Angular. Here is a fix: #1661 |
@petebacondarwin Thx! 👍 |
@petebacondarwin I expirience problems merging your repeat branch with current master. May you help me? |
I have rebased and pushed the branch. It should fast forward onto master now |
It was helpful! ) @petebacondarwin Thank you! Although in the end of build/angular.js:14086: WARNING - Suspicious code. Is there a missing '+' on the previous line?
});'use strict';
^
0 error(s), 1 warning(s) generally it works perfectly fine as it should ) |
Hi, since this issue has been closed as well as pull request #1661, has this issue been fixed somewhere else? |
This is fixed in most versions of angular. See http://plnkr.co/edit/EghJVcFd7cbEiJ0zDmhr?p=preview |
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:
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 ofhtlm ng-model="object.items[k]"
The input field bacames blocked and uneditableFirebug doesn't show any error logs or alerts. But seems it should work in this way
The text was updated successfully, but these errors were encountered: