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

Objects with v-bind fails with components. #3670

Closed
itsMapleLeaf opened this issue Sep 14, 2016 · 1 comment
Closed

Objects with v-bind fails with components. #3670

itsMapleLeaf opened this issue Sep 14, 2016 · 1 comment

Comments

@itsMapleLeaf
Copy link
Contributor

Vue.js version

2.0 rc6 (also said not to work in 1.0.26)

Reproduction Link

https://jsfiddle.net/Kingdaro/mzLkbo8p/

Steps to reproduce

Create an object with props. Pass in the object to assign its keys as props to a component, as documented here.

What is Expected?

Both lines should output "Value is: foo"

What is actually happening?

The first example when passing a single prop works fine. The second does not receive "value" from the object passed to v-bind.

@itsMapleLeaf itsMapleLeaf changed the title v-bind='{ some: props }' fails with components. Objects with v-bind fails with components. Sep 14, 2016
@AlexandreBonaventure
Copy link

Is this going to be fixed in 1.x ? Thanks

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

3 participants