Preselect items on load example - not working .

4 posts, 0 answers
  1. Hema
    Hema avatar
    20 posts
    Member since:
    Jul 2015

    Posted 12 Apr 2016 Link to this post

    I tried to run the dojo. However, I don't see " Not loaded 1" and "Not loaded 2" appear in the example .

    http://docs.telerik.com/kendo-ui/controls/editors/multiselect/how-to/AngularJS/pre-select-items

    Please advice.
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2774 posts

    Posted 15 Apr 2016 Link to this post

    Hi,

    The demo seems to be missing a dependency on linq.js. I've updated the snippet here. It should be published soon in the article as well.

    Apologies for the caused inconvenience.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Hema
    Hema avatar
    20 posts
    Member since:
    Jul 2015

    Posted 18 Apr 2016 in reply to T. Tsonev Link to this post

    Tsonev,

    I ran the updated snippet both in firefox and in IE . However, I find that "Not loaded 1" and "Not loaded 2" is loading initially in the first text box, but it changes back to "Chai" . Please advice .

  4. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3715 posts

    Posted 20 Apr 2016 Link to this post

    Hello Hema,

    The referenced demo is not relevant to the latest versions of Kendo UI, as the k-ng-model directive will force binding when primitive values are used. More information can be found here:
    If you would like to avoid auto-binding process, then you will need to work with value objects (not primitive values). Check the updated demo:
     I will update the how-to demo accordingly.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top