When applying an inputStyle (e.g. 'width: 90px'), which is rendered correctly, Vue logs the following warning in the console: [Vue warn]: Invalid prop: type check failed for prop "inputStyle". Expected Object, got String with value "width: 90px". '
In addition, when setting the min and max attributes on the InputNumber (e.g. with min=-99999) the following warning is logged in the console:
[Vue warn]: Invalid prop: type check failed for prop "min". Expected Number with value -99999, got String with value "-99999".
These warnings don't seem to interfere with correct component behavior in the browser though.
Could this be a possible improvement in the source of the InputNumber component, in order to prevent these warnings and possibly negative side effects?
InputNumber - inputStyle and min/max attributes - Vue warnings
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests