`update:modelValue` parameter mismatch with documentation?

Author: paulmelisCreated Aug 5, 2026Updated Aug 5, 2026

https://vue-multiselect.js.org/#sub-events says the event handler will receive (value, id) parameters:

Image

Yet, it seems the event is only ever emitted with a single parameter (the current option value). For example:

https://github.com/shentao/vue-multiselect/blob/8092917041f0ae02cbe4c6982deddc931c6adecd/src/multiselectMixin.js#L516-L520

And I get a nil in my code for the 2nd parameter, matches what the vue-multiselect code does.

Wondering if this is an oversight in the code, or the docs are simply incorrect. Having the id parameter is quite useful (in my case a dynamically generated set of multiselect elements, whose associated options are stored in a Map keyed by element id).