Input component Width

2 posts, 1 answers
  1. Vincent
    Vincent avatar
    15 posts
    Member since:
    Mar 2014

    Posted 06 Aug 2018 Link to this post

    Hello,

    I'm trying to wake my Input component use all space he can occupy.

    I saw here the props width, but it doesn't seems to work.

    A little exemple.

    https://next.plnkr.co/edit/WxYDfF0LWBRy4XtN?preview

    Thanks,

    Regard
    Vincent.

  2. Answer
    Kiril
    Admin
    Kiril avatar
    23 posts

    Posted 06 Aug 2018 Link to this post

    Hello Vincent,

    Since we pass all the props to a native input element, the property is set correctly. From what i was able to identify is that even the native input element does not apply width, when the property is set.

    I recommend using the style property instead for setting the width of the Input component.
    I've prepared an example demonstrating it's usage here .

    Please let me know if you need more help.

    Regards,
    Kiril
    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