furqanZafar / react-selectize

http://furqanzafar.github.io/react-selectize/
Apache License 2.0
704 stars 138 forks source link

question: looking into a select all button #15

Open thanhvuong opened 8 years ago

thanhvuong commented 8 years ago

how should i implement a select all with the multiselect component? And are you planning on adding individual remove buttons on each selected item?

furqanZafar commented 8 years ago

you can add remove button to selected items using custom render function as illustrated by this example here: http://furqanzafar.github.io/react-selectize/#/?category=multi&example=custom-filtering-and-rendering

for select all functionality all you need to do is set the values prop of the MultiSelect component to the options array

gitfudge0 commented 6 years ago

Has there been any update on this issue? I have the same requirement.