Skip to content

Multi-type prop validation [Boolean, String] cast empty string to true #4538

Closed
@fliptheweb

Description

@fliptheweb

Vue.js version

2.0.2

Reproduction Link

https://jsfiddle.net/fliptheweb/zjr41svn/4/

Steps to reproduce

What is Expected?

An empty string '' must pass to the component like an empty string.

What is actually happening?

It's type cast type to boolean true

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