You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(select): invalid v-model with is-multi prop now returns all options (#215)
* feat(select): invalid v-model with is-multi prop now returns all options
* feat(select): automatically convert v-model to array when undefined with is-multi
#212
* chore: release v0.11.6-beta.1
* fix(select): use getOptionValue to determine selected options when using isMulti prop
#212 (comment)
* chore: release v0.11.6-beta.2
console.warn(`[vue3-select-component warn]: The v-model provided should be an array when using \`isMulti\` prop, instead it was: ${selected.value}`);
154
+
else {
155
+
selected.value= [option.value];
156
+
157
+
if (!props.disableInvalidVModelWarn) {
158
+
console.warn(`[vue3-select-component warn]: The v-model provided should be an array when using \`isMulti\` prop, instead it was: ${selected.value}. Since an option has been selected, the component automatically converted the v-model to an array.`);
0 commit comments