Skip to content

Passing empty string into boolean type prop result in true #5959

@jkzing

Description

@jkzing

Version

2.3.4

Reproduction link

https://jsfiddle.net/u2mo75oo/2/

Steps to reproduce

run repro

What is expected?

comp.name to be false or get warning.

What is actually happening?

comp.name is 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