【发布时间】:2015-06-02 15:21:58
【问题描述】:
我正在为我的选择选项使用选择的 plun,但它无法正常工作。 如果我这样使用
<select chosen
data-placeholder="Pick one of these"
disable-search="true">
<option value=""></option>
<option>This is fun</option>
<option>I like Chosen so much</option>
<option>I also like bunny rabbits</option>
只是选择选项的硬代码,它正在工作, 但在带有 ng-options 的动态代码中,它不显示项目项。
<select chosen
data-placeholder="Pick one of these"
disable-search="true"
data-ng-model="state"
ng-options="project for project in vm.projects">
我该如何解决这个问题?谢谢!
【问题讨论】:
标签: jquery angularjs jquery-chosen