Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.2.0-beta.1] v-model doesn't work when passed prop is named 'value' #5002

Closed
sqal opened this issue Feb 24, 2017 · 0 comments
Closed

[v2.2.0-beta.1] v-model doesn't work when passed prop is named 'value' #5002

sqal opened this issue Feb 24, 2017 · 0 comments
Labels

Comments

@sqal
Copy link
Contributor

sqal commented Feb 24, 2017

Vue.js version

v2.2.0-beta.1

Reproduction Link

2.2.0-beta.1 - https://jsfiddle.net/sqal/4us41rdz/1/
2.1.10 - https://jsfiddle.net/sqal/1zgatz1b/

Steps to reproduce

  • open 2.2.0-beta.1 repo link
  • type something in the first input field - value prop in the parent component should update

What is Expected?

v-model should work regardless of the name of passed prop.

What is actually happening?

When v-model prop name is "value"', v-model doesn't update the data when input event is fired. It ony breaks when is used on custom component. It worked fine in 2.1.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants