mysociety / jquery-multi-select

Converts <select multiple> elements into dropdown menus with checkboxes
https://www.mysociety.org/
Other
24 stars 18 forks source link

Custom text for when all checkboxes are ticked, and no checkboxes are ticked #1

Closed zarino closed 8 years ago

zarino commented 8 years ago

We already have the placeholderText option, for specifying what should be displayed in the button when no checkboxes are ticked.

We need an equivalent option for when all the checkboxes are ticked.

Eg: right now on FMS, we want the "Show: [all reports]" select box to read "All reports" when the none of the <option>s are selected, and also when all of the <option>s are selected.