This is a migrated thread and some comments may be shown as answers.

Native Vue Input warning when passing a number value to value prop

1 Answer 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 12 Mar 2020, 08:58 PM

Passing in a number value will cause the native vue input component to throw a warning in the browser console.

      "Invalid prop: type check failed for prop "value". Expected String with value "1", got Number with value 1"

No warning should be thrown when passing a number value as it's considered a valid type in the api documentation.

Also the defaultValue should have the Number type valid as well.

 

Url of example:

https://stackblitz.com/edit/typescript-nbhffs?embed=1&file=index.html

Might be related to this issue in core

https://github.com/telerik/kendo-ui-core/issues/3843

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 13 Mar 2020, 11:57 AM

Hello,

Thank you for reporting the issue and for your concern with Kendo UI for Vue. 

I have logged the issue here - https://github.com/telerik/kendo-vue/issues/59, it is already in progress and we will do our best to fix it as soon as possible.

If you see other issues please don't hesitate to let us know.

Regards,
Plamen
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or