We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
true
2.0.2
https://jsfiddle.net/fliptheweb/zjr41svn/4/
An empty string '' must pass to the component like an empty string.
''
It's type cast type to boolean true
The text was updated successfully, but these errors were encountered:
It seems that if types validation includes String and Boolean together, we should not check here for the blank line.
String
Boolean
There is another case when we have hyphenated string that looks like a prop.
Sorry, something went wrong.
don`t cast empty string to Boolean if prop types include String and B…
362a322
…oolean (fix vuejs#4538)
451ea37
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: