shentao / vue-multiselect

Universal select/multiselect/tagging component for Vue.js
https://vue-multiselect.js.org/
MIT License
6.66k stars 989 forks source link

[Feature request] Select/deselect all #1644

Open ikreb7 opened 1 year ago

ikreb7 commented 1 year ago

I know there was already the issue #563. But this is still 5 years ago.

Furthermore, it seems that @select does not work correct. I use the 3.0.0-alpha.2. I know it still an alpha release, but it also doesn't work with version 2.

The problem is that still that the select event also add "Select all" to value. At version 3.0.0-lpha2 I have furthermore the problem, that the @remove event is not triggered.

Reproduction Link

https://jsfiddle.net/ikreb/q7xknv2L/4/

Expected behaviour

Add only the other values except "select all".

Actual behaviour

Add all values.

takeAction commented 1 year ago

it's great if this feature is on.