Showing choice on no result in ui-select

1k Views Asked by At

I am using ui-select in AngularJS to show select options from given values. I want to display a choice when there is no search result. Is there any way to accomplish this task?

1

There are 1 best solutions below

2
On

you can use ui-select-no-choice. It should be used right after ui-select-choices. Refer to official documentation i have included link.

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

Reference : ui-select-no-choice