在angular-ui-select多选模式下禁用所选选项

Ven*_*pal 8 select multiple-select angularjs ui-select angular-ui-select

ui-select多重模式下,从选项列表中删除选定的选项(也在源代码中检查),但我只需要禁用所选的选项,如下所示,而不是删除.

在此输入图像描述

上面的图片来自selectedjs.

有一个选项,ui-disable-choice禁用选项,但它只是使选择完全无法选择.

<ui-select-choices ui-disable-choice="person.name=='Adam'" repeat="person in people">
  <div ng-bind-html="person.name"></div>
</ui-select-choices>
Run Code Online (Sandbox Code Playgroud)

那么,如何使选定的选项出现在选项中但禁用?

plnkr这里的例子.