Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine all selected Title #387

Closed
oguzhan80 opened this issue Sep 26, 2014 · 2 comments
Closed

Determine all selected Title #387

oguzhan80 opened this issue Sep 26, 2014 · 2 comments

Comments

@oguzhan80
Copy link

It would be nice, when all items are selected you can decide if you want the standard title "n selected"
or a (custom) title like "all pizzas" ...

for my purpose i used the "selectAllText", like this in (quick&dirty, LN 146):

if(options.length == select.find('option').length){
return this.selectAllText + ' ';
}else{
return options.length + ' ' + this.nSelectedText + ' ';
}

@rousseauo
Copy link

I agree.

@davidstutz
Copy link
Owner

Yes, such an option would allow simple customization - although this can be handled using the button text option. I will see how to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants