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

Preselect items on load example - not working .

3 Answers 160 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Hema
Top achievements
Rank 1
Hema asked on 12 Apr 2016, 01:52 PM

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.

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 15 Apr 2016, 11:40 AM
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!
 
0
Hema
Top achievements
Rank 1
answered on 18 Apr 2016, 04:58 PM

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 .

0
Georgi Krustev
Telerik team
answered on 20 Apr 2016, 10:31 AM
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!
 
Tags
MultiSelect
Asked by
Hema
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Hema
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or