Ng-select: Add possibility to display count of selected options

Created on 4 Jul 2018  路  1Comment  路  Source: ng-select/ng-select

Expected behaviour

I think it's good idea to add parameter in API which allow to limit the number of items to display in the input field. If we don't use this parameter, ng-select shows all selected.
For example, ~maxItemsLimit = 8. If I select 7 or 8 options, I will see all of them. But if I select 9 options, I will see '9 selected'
image

Actual behaviour

I can select any number of options. And all of them will be shown in input tag.

More Info

ng-select version: 2.3.2

question

Most helpful comment

this is achievable using multi-label-tmp https://ng-select.github.io/ng-select#/multiselect

>All comments

this is achievable using multi-label-tmp https://ng-select.github.io/ng-select#/multiselect

Was this page helpful?
0 / 5 - 0 ratings

Related issues

penihel picture penihel  路  4Comments

gitlines picture gitlines  路  4Comments

vincentjames501 picture vincentjames501  路  4Comments

siddharth1903 picture siddharth1903  路  4Comments

mi1olson picture mi1olson  路  4Comments