【发布时间】:2015-04-01 09:16:27
【问题描述】:
使用 Angular 和多用户界面选择,选择框会显示一个不需要的“额外”框(见图)。我怎样才能删除它?
代码:
<ui-select multiple ng-model="definition.attachments" theme="bootstrap">
<ui-select-match >{{$item.name}}</ui-select-match>
<ui-select-choices repeat="template.id as template in templates">{{template.name}}</ui-select-choices>
</ui-select>
【问题讨论】:
-
检查元素类然后在css中添加
display:none? -
你能给我plunkker代码吗?
标签: javascript css angularjs twitter-bootstrap ui-select