Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Input unfocus in ng-repeat #1842

Closed
Closed
@ajeliuc

Description

@ajeliuc

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:

<div class="control-group" ng-repeat="(key, item) in object.items">
<div class="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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions