2014-10-08 89 views

回答

0

添加typeahead-no-results="noResults"您輸入

,並把這個輸入下方。

<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh"></i> 
<div ng-show="noResults"> 
    <i class="glyphicon glyphicon-remove"></i> No Results Found 
</div> 

文檔:http://angular-ui.github.io/bootstrap/#/typeahead