Skip to content

setting vModel value in mounted hook may cause confusion #911

@unbyte

Description

@unbyte

Version

vuejs/core@54ed759

Reproduction link

https://jsfiddle.net/uL8f9e2d/

Steps to reproduce

  1. open the terminal, see the log

What is expected?

custom directive's mounted hook should be called after value is set

What is actually happening?

custom directive's mounted hook is called before value is set because v-test is before v-model in template

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions