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

Problem with v-model in Vue.js 2.0 #4185

Closed
ricvelozo opened this issue Nov 13, 2016 · 2 comments · Fixed by #4188
Closed

Problem with v-model in Vue.js 2.0 #4185

ricvelozo opened this issue Nov 13, 2016 · 2 comments · Fixed by #4188

Comments

@ricvelozo
Copy link

Vue.js version

2.0.5

Reproduction Link

https://jsfiddle.net/tqwxk226/

Steps to reproduce

Switch between versions of Vue.js, and enter any text in the input

What is Expected?

Property update on input, like in Vue.js 1.0

What is actually happening?

When using Vue.js 2.0, the field changes to empty on input event (any key)

@fnlctrl
Copy link
Member

fnlctrl commented Nov 13, 2016

Seems to be a 2.0.4/2.0.5 regression, working fine on 2.0.3. @defcc
https://jsfiddle.net/bk7gbeq5/

@defcc
Copy link
Member

defcc commented Nov 13, 2016

Thanks, I am looking into it. A bug caused by model parser, I'll fix it soon.

yyx990803 pushed a commit that referenced this issue Nov 13, 2016
* fix object dot notation bug

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

Successfully merging a pull request may close this issue.

3 participants