Skip to content

Passing true/false as values in v-with doesn't work #715

@cheapsteak

Description

@cheapsteak

You can pass in strings and integers, but not booleans

This doesn't work:

<my-component v-with="booleanProperty: true"></my-component>

This does:

<my-component v-with="booleanProperty: !!true"></my-component>

fiddle: http://jsfiddle.net/3h9gjvsp/3/

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