KendoUI与角度datepicker无法正常工作

时间:2016-10-27 21:27:55

标签: javascript jquery angularjs kendo-ui datepicker

我的index.html中有以下导入

<script src="content/js/angular.js"></script>

<link  href="content/js/kendo.common-material.min.css" rel="stylesheet" />
<link  href="content/js/kendo.material.min.css" rel="stylesheet" />
<script src="content/js/kendo.ui.core.min.js"></script>
<script src="content/js/kendo.angular.js"></script>
模块中的

var myApp = angular.module("myApp", [
    //angular stuff..,
    "kendo.directives"]);

然后在我的html页面

<input kendo-date-picker value="10/10/2011" style="width: 100%" />

但没有显示日期选择器。它只是一个没有按钮或任何东西的纯文本字段。我修改了一个dojo片段,它工作得很好。 Dojo Snippet here

任何人都知道它为什么不起作用?

1 个答案:

答案 0 :(得分:0)

如果将其修改为以下内容,则html部分将显示在dojo中:

<kendo-date-picker value="10/10/2011"></kendo-date-picker>

相关问题