Skip to content

Objects with v-bind fails with components. #3670

@itsMapleLeaf

Description

@itsMapleLeaf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions