isteven / angular-multi-select

A multi select dropdown directive for AngularJS. Allows you to use HTML tags and CSS in the data. Requires only AngularJS and nothing else.
isteven.github.io/angular-multi-select
MIT License
1.08k stars 518 forks source link

Simple item-label option #446

Closed mathpaquette closed 8 years ago

mathpaquette commented 8 years ago

I wonder if I can display the count of selected elements rather than the list of all element properties?

i.e. If I checked 3 elements in the list it will simply display 3 Checked.

Thanks in advance for the answer. Mathieu

isteven commented 8 years ago

Hi @freemind-

Yes it's available. Please read the details in the manual.

mathpaquette commented 8 years ago

@isteven I read the doc + the code. I only figure out to set the default button label but I dont see how I can display my custom button label onItemClick... Could you please help. Thanks.

mathpaquette commented 8 years ago

@isteven nevermind, max-labels will do the job :)