lordfriend / nya-bootstrap-select

An AngularJS select replacement which build select like dropdown component with collection and ng-model support
http://nya.io/nya-bootstrap-select/
MIT License
179 stars 81 forks source link

Live search on server #125

Closed profhase closed 8 years ago

profhase commented 8 years ago

I would like to perform the live search on server data. Is there some builtin feature for that?

I tried this code (there is a $watch on searchString which requests foundUsers from server, but i cannot type into my input field

<div class="col-lg-6">
    <ol class="nya-bs-select
          ng-model="selectedUsers"
          title="Select Users"
          data-size="8"
          multiple>
          <div>
             <input class="form-control" ng-model="searchString">
           </div>
           <li nya-bs-option="user in foundUsers">
               <a>{{user}}</a>
            </li>
    </ol>
 </div>
lordfriend commented 8 years ago

Sorry, live search from remote source is not supported, you can use ng-tags-input for this feature

profhase commented 8 years ago

Thanks a lot, I will close the Issue.