ui select no choice · angular-ui/ui-select Wiki · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

ui select no choice

Hugo edited this page Mar 9, 2017 · 6 revisions

ui-select-no-choice

This directive was created in PR #1011 and included in v. 0.17.1

The ui-select-no-choice directive must be an immediate child of the ui-select directive. It displays its contents when no matches are found.

This directive work only with bootstrap theme.

Example usage:

<ui-select ng-model="model.selected">
  <ui-select-match placeholder="Pick one...">{{$select.selected.name}}</ui-select-match>
  <ui-select-choices repeat="person in people | filter: $select.search track by person.name">
    <div ng-bind-html="person.name | highlight: $select.search"></div>
  </ui-select-choices>
  <ui-select-no-choice>
    Dang!  We couldn't find any choices...
  </ui-select-no-choice>
</ui-select>

Clone this wiki locally

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.