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

2 posts, 0 answers
  1. Steven
    Steven avatar
    5 posts
    Member since:
    Jun 2019

    Posted 12 Mar Link to this post

    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

  2. Plamen
    Admin
    Plamen avatar
    3040 posts

    Posted 13 Mar Link to this post

    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
Back to Top