javascript - AngularJS isteven-multi-select limit display options -


i using isteven-multi-select display select options db. unfortunatelly large array (from "a few" "+100k" records). reason why use smart select filter. there way how can set limit of rendering options improve performance? large array drop down js , firefox.

my select:

<div isteven-multi-select      input-model="data.select.options"      output-model="data.select.data"       button-label="label"      item-label="id label"      tick-property="ticked"      max-labels="4" >  </div> 

controller:

... datainforesource.query(     function(data) {         $scope.data.select.options = data;         console.log(data);     } ); .... 

i tried select2 not find way how it.

thanks advice.

may try one:

<div isteven-multi-select ... max-height="250px"></div> 

ps. can't add comment because following answer


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -