如何隐藏ui.bootstrap.typeahead angularjs中建议列表中的选定项目

时间:2016-08-31 06:26:48

标签: angularjs angular-ui-bootstrap angular-ui-typeahead

我将ng-click angularjs事件中ui.bootstrap.typeahead的建议列表中的每个选定项目添加到另一个列表中以向用户显示(这些用户已被选中),现在我想不建议这些选定的项目建议清单。

我该怎么办?

enter image description here

1 个答案:

答案 0 :(得分:0)

将源过滤到您从中读取预先输入数据的未选择项目,然后选择分配所选项目f.e:item.selected = true并在删除所选项目时指定false。