12345678910111213141516 |
- <ui-select ng-model="person.selected" theme="bootstrap">
- <ui-select-match placeholder="">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices repeat="item in people | filter: $select.search">
- <div ng-bind-html="item.name | highlight: $select.search"></div>
- <small ng-bind-html="item.email | highlight: $select.search"></small>
- <div class="pull-right margin-right-10">
- <input type=button class="btn btn-primary btn-o btn-sm" value="修改"
- ng-click="setEditId(useritem.account,useritem)">
- <input type=button class="btn btn-primary btn-o btn-sm" value="删除"
- ng-click="remove(useritem.id)">
- <!-- <a ng-click="remove(useritem.id)" class="btn btn-transparent btn-xs tooltips" tooltip-placement="top" tooltip="Remove"><i class="fa fa-times fa fa-white"></i></a> -->
- </div>
- </ui-select-choices>
- </ui-select>
|