Value of input field not set

2 posts, 0 answers
  1. Trent
    Trent avatar
    2 posts
    Member since:
    Mar 2016

    Posted 29 Mar Link to this post

    I have an autocomplete input setup and it all works great - except when I look in inspector after either: selecting a suggested value; or typing in a value not in the list - the input value attribute is not set.

     

    The value in my case is needed for my material design theme, which has the floating label. Without a value in the <input value="selected value"> the label returns to the middle of the field and overlaps with the selected text.

    Any idea how to make the kendoAutoComplete also set the value of the input field?

  2. Trent
    Trent avatar
    2 posts
    Member since:
    Mar 2016

    Posted 29 Mar in reply to Trent Link to this post

    This can be closed (or deleted). Turns out it has nothing to do with the Kendo element. I needed to hook up an on(blur) event that added a class to push the label up when there was a value in the input. 
  3. Kendo UI is VS 2017 Ready
Back to Top