Hello,
I have found this issue in several of the Kendo UI (when integrated with AngularJS) controls and wanted to see what I'm doing wrong.
The underlying issue is this. If my controller calls to a data provider (i.e., an AngularJS factory that then calls to a backend Rest service) that resolves data (returned from the Rest service) and then sets the MultiSelects options.dataSource configuration to that result, the multiselect list is not filled. If I just fill the options.dataSource with stub data outside of the factory call, everything works fine - but this isn't realistic.
I have attached a zip file (containing a Kendo Dojo Html file) that demonstrates the issue. I was able to reproduce this by just using (for Dojo purposes) a $watch service to simulate the data provider call/resolution. I can expand the repro to use a factory and hard code the data and resolve that data, if necessary.
The company I work for has a commercial license, but it's late, and I don't have the account information (I'm logged in with an account I created to get the Trial version). We have support tickets. I can get you this information tomorrow if it's necessary...I just need help figuring this out.
Thank you so much!!
-Mark
I have found this issue in several of the Kendo UI (when integrated with AngularJS) controls and wanted to see what I'm doing wrong.
The underlying issue is this. If my controller calls to a data provider (i.e., an AngularJS factory that then calls to a backend Rest service) that resolves data (returned from the Rest service) and then sets the MultiSelects options.dataSource configuration to that result, the multiselect list is not filled. If I just fill the options.dataSource with stub data outside of the factory call, everything works fine - but this isn't realistic.
I have attached a zip file (containing a Kendo Dojo Html file) that demonstrates the issue. I was able to reproduce this by just using (for Dojo purposes) a $watch service to simulate the data provider call/resolution. I can expand the repro to use a factory and hard code the data and resolve that data, if necessary.
The company I work for has a commercial license, but it's late, and I don't have the account information (I'm logged in with an account I created to get the Trial version). We have support tickets. I can get you this information tomorrow if it's necessary...I just need help figuring this out.
Thank you so much!!
-Mark