-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
In the development environment, a warning will be output when some property values are undefined #5784
Comments
same problem as #5734 |
This is native behavior: Your props object has a property of See issues like #3576 |
Yeah~I know that, but shouldn't it be ignored if the property's value is undefined? Because a property with value undefined has no meaning |
No, because some DOM properties could be expecting You can force it as an attribute to remove it though. |
Thanks! I didn't know has |
Version
3.2.33
Reproduction link
https://sfc.vuejs.org/
Steps to reproduce
What is expected?
do not print warnings
What is actually happening?
[Vue warn]: Failed setting prop "size" on : value 0 is invalid.
Error: Failed to set the 'size' property on 'HTMLInputElement': The value provided is 0, which is an invalid size.
The text was updated successfully, but these errors were encountered: