显示选择没有结果ui-select

时间:2017-12-15 12:58:51

标签: angularjs angular-ui-select

我在AngularJS中使用ui-select来显示给定值的选择选项。我想在没有搜索结果时显示选项。有没有办法完成这项任务?

1 个答案:

答案 0 :(得分:0)

您可以使用ui-select-no-choice。它应该在ui-select-choices之后使用。请参阅我已包含链接的官方文档。

<ui-select-no-choice>
  Sorry! No choices found!!
</ui-select-no-choice>

参考:ui-select-no-choice

相关问题