标签: angularjs angular-ui-select
我在AngularJS中使用ui-select来显示给定值的选择选项。我想在没有搜索结果时显示选项。有没有办法完成这项任务?
ui-select
答案 0 :(得分:0)
您可以使用ui-select-no-choice。它应该在ui-select-choices之后使用。请参阅我已包含链接的官方文档。
ui-select-no-choice
ui-select-choices
<ui-select-no-choice> Sorry! No choices found!! </ui-select-no-choice>
参考:ui-select-no-choice