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

Default value for a prop not functioning properly with v-model #2569

Closed
agonbina opened this issue Mar 25, 2016 · 0 comments
Closed

Default value for a prop not functioning properly with v-model #2569

agonbina opened this issue Mar 25, 2016 · 0 comments

Comments

@agonbina
Copy link

Vue.js version

1.0.18 (same behavior in 1.0.19)

Reproduction Link

v1.0.17 Here it works
v1.0.18 Issue is here

Steps to reproduce

Change the value in the input field

What is Expected?

Being able to mutate the default value for a prop

What is actually happening?

When defining a props attribute with a type(or validator) and a default function that constructs an instance of the specified type, binding the returned default value to an input field(via v-model) does not work properly, ie the input mutations are ignored.

Possible related to #2549?

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

No branches or pull requests

1 participant