`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:
Yet, it seems the event is only ever emitted with a single parameter (the current option value). For example:
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).
Source: shentao/vue-multiselect