Skip to content

Form inputs in a repeating element not updating computed properties as expected when an array is mutated #65

@daines

Description

@daines

When using push to add objects to an array hooked up to a template element which contains form inputs, it appears that newly-created input elements are not bound in the same way as input elements created based on the initial data object provided when instantiating the Vue instance.

The newly-created input elements have the correct value after push is called, but typing in them doesn't cause a property computed on the array to change.

This commit has a functional test which demonstrates this:

daines@b5ec549

Strangely, this test passes when run with casper but fails in the browser. (I've tried Safari, Chrome, and Firefox.)

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