-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
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
Multi-type props defined without value gets empty string, should be true [Boolean, String] #7485
Closed
realcarbonneau opened this issue
Jan 20, 2018
· 2 comments
· Fixed by annict/annict#1034, annict/annict#1035, owncloud/web#46, OSM-Browser/osm-browser#56 or OSM-Browser/osm-browser#58
Closed
Multi-type props defined without value gets empty string, should be true [Boolean, String] #7485
realcarbonneau opened this issue
Jan 20, 2018
· 2 comments
· Fixed by annict/annict#1034, annict/annict#1035, owncloud/web#46, OSM-Browser/osm-browser#56 or OSM-Browser/osm-browser#58
Labels
Comments
Any progress on this? I'm experiencing this problem as well. |
This was referenced Mar 14, 2018
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
aJean
pushed a commit
to aJean/vue
that referenced
this issue
Aug 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.13
Reproduction link
https://jsfiddle.net/realcarbonneau/68w22cbo/
Steps to reproduce
Define a multi-type Boolean and String Prop, call the component by specifying the prop name (without a value).
What is expected?
Prop contains true (Boolean type)
What is actually happening?
Prop contains an empty string
The sequence does not change the result, both
[Boolean, String]
and[String, Boolean]
give the same result. The version does not change the result either (vue version 1.0.12, 2.2.1, edge on jsfiddle)The text was updated successfully, but these errors were encountered: