angularjs - Kendo angular directives -
i using angular 1.5.* kendo ui. following documentation , have completed recommended steps found on telerik site:
- including kendo scripts , styles
- adding kendo.directives angular module
- using kendo-[directive] syntax in markup
everything renders fine, when try interact widgets getting following error: uncaught typeerror: f.getclientrects not function(…)
this markup looks like:
<input kendo-date-picker ng-model="model.user.dob" />
the same error happens when try use drop down list defined as:
<select kendo-drop-down-list k-data-source="model.languages" ng-model="model.user.language"></select>
i have used kendo years, first time, using angular , feel little lost :)
what missing? appreciated.
thank you
i make sure have kendo scripts in right dependency order
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="./bower_components/angular/angular.min.js"></script> <script src="js/kendo.all.min.js"></script>
another thing might work older versions of kendo, trying deprecated angular-kendo npm package
<script src="./bower_components/angular-kendo/angular-kendo.js"></script>
or, caused animations try angular-animate npm package:
<script src="./bower_components/angular-animate/angular-animate.js"></script>
another thing might want check date going kendo datepicker
$scope.model.user.dob = new date('2016-06-01t04:00:00');
Comments
Post a Comment