setting vModel value in mounted hook may cause confusion
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 3.2k
- Forks
- 5k
- Avg merge
- 14d 17h
- Merged PRs (30d)
- 1
Description
Version
https://github.com/vuejs/vue-next/commit/54ed7592e416fc411196e9b767aebcc4f2ca20d8
Reproduction link
https://jsfiddle.net/uL8f9e2d/
Steps to reproduce
- 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproduction link and the reported version commit; the issue names no documentation file, test, or entry point. Confirm the directive and model-hook ordering, then identify where this behavior should be documented and define completion as a clear explanation of the observed ordering and expected usage.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100