Angularjs ui select指令不';t显示
我将使用ui select指令,我已将Angularjs ui select指令不';t显示,angularjs,angularjs-directive,ui-select,Angularjs,Angularjs Directive,Ui Select,我将使用ui select指令,我已将select.js和select.css添加到项目中,这是我的代码: <ui-select ng-model="Client.selected" theme="bootstrap" style="width:300px;"> <ui-select-match placeholder="Select an item ...>{{$select.selected.name}}</ui-select-match>
select.js
和select.css
添加到项目中,这是我的代码:
<ui-select ng-model="Client.selected" theme="bootstrap" style="width:300px;">
<ui-select-match placeholder="Select an item ...>{{$select.selected.name}}</ui-select-match>
<ui-select-choices repeat="item in Client.rules | filter: $select.search">
<div ng-bind-html="item.name | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
你添加指令代码了吗?我解决了。我没有注册用户界面选择模块。