shentao / vue-multiselect

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

@input event doesn't work in vue-multiselect": "^3.0.0-beta.2. Could you please add this event for compatibility with multiselect v2.0 #1701

Closed VladymyrKarpov closed 1 year ago

VladymyrKarpov commented 1 year ago

Reproduction Link

Steps to reproduce

Expected behaviour

Actual behaviour

mattelen commented 1 year ago

Can you explain why you would still need this in a Vue 3 application, considering a migration is required from @input to update:modelValue as part of any Vue 3 migration, regardless if we added this in or not?

VladymyrKarpov commented 1 year ago

Hello! It would be great to make it consistent with docs because at this point it is confusing. Documentation for v3.0.0 is the same as for v2.x as it is mostly backward compatible - and when you try use input event boom it just doesn't work. That is why if you can add that listener even if it duplicates the behaviour of update:modelValue would be super helpful. Thank you.

ankurk91 commented 1 year ago

Please document this breaking change somewhere

mattelen commented 1 year ago

Updated https://github.com/shentao/vue-multiselect/blob/next/README.md. Thanks crew