Skip to content

v-model and v-on="input" #202

@paglias

Description

@paglias

It looks like that the input event callback defined in a v-on directive is executed before the v-model directive updates the viewmodel.

http://jsfiddle.net/8FUdD/1/ if you give a look at the console it will be logging the old value

It would be nice to have a v-change directive like angular's ngChange http://docs.angularjs.org/api/ng/directive/ngChange that relies on a watcher on the ngModel instead of an event.

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