-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
knockout-kendo and KendoUI 2016.1.112 #227
Comments
+1 Any ideas on what may be the cause of this? In my case, I am using require.js and it seems that the kendo module is somehow initialised incorrectly. |
i added a demo here that shows the issue: As you will see, replacing the latest version 2016.1.112 with 2015.3.1111 will work just fine. |
@crashnick16 I just ran your demo. I was able to get it to work by removing require.js (I selected the 20161.112 package from the dropdown). I don't think you have a kendo nor ko-kendo issue. http://dojo.telerik.com/UboLA @magnus-meridies do you have a demo? |
My test environment consists of requirejs 2.1.20, knockout 3.3.0, knockout-kendo 0.9.6 and kendoui 2015Q3. The pilot project works fine but when just changing the kendo.all.min.js file to 2016Q1 i got the error described above. So it seams like the combo requirejs and 2016Q1 doesnt play well together. |
+1 I was also getting this problem. Seemed like somehow ko kendo is having trouble resolving kendo. Requirejs is the engine of the app you can't just remove it |
I found this at Telerik's forum: |
Hi, It seems that kendo is not working with requireJS anymore as the lib is not loaded and returned as undefined if require('kendo') is used... Another issue I found is that Jquery is referenced as "jquery.min" as a dependency for the core but even fixing that does not help with the main problem ... Sent from my iPhone
|
@Volak Correct, you are dependent upon requireJS. You also wouldn't go to your bank to ask how to fix your engine. The link posted by @magnus-meridies points to an issue with the minified 2016.1.112 version of kendo. The build process can result in the module exports being lost (or possibly incorrectly renamed). I think you will find proper guidance in that thread. |
Are there any plans to refactor this helpful component to support the new concept in the 2016 kendo module system? We are using knockout with kendo but this is a breaking change. This is due to the fact that there's no single 'kendo' module anymore but each component is it's own module. An idea: |
I haven't tried specifically but I think if you load the full kendo module and use requirejs maps you might be able to get this working with the latest kendo. |
The problem is that the knockout-kendo code is trying to load a requireJS module named
I then created a knockout component using the knockout-kendo data binding like this:
|
I was able to get this to work by adding a map in my config file: |
Support for KendoUI 2016.1.112
Getting "Uncaught TypeError: Cannot read property 'data' of undefined" when running
The text was updated successfully, but these errors were encountered: