Vue-select: multiple options (objects) does not disable selected options properly

Created on 5 Oct 2018  路  14Comments  路  Source: sagalbot/vue-select

When I am using multiple options (objects) it does not disable the selected options properly. It is possible to select the same option multiple times.

I have created a demo on codepen: https://codepen.io/telcy/pen/KGMqgm

Most helpful comment

Is there any update on this? This is still broken in 2.5.1...

All 14 comments

I also have the same problem.Have you found a workaround?

I tried to use version 2.4.0 and this issue was gone.

dude what are talking about? https://codepen.io/Vireshh/pen/GYWaPE
still allowing duplicates... are you using multiple or single select?...You need to select eg foo then bar then you can select foo again ...which is a duplicate in your selection

Didn't found a workaround yet. Pretty busy with other work right now. Will keep you updated as soon as I found some solution.

dude what are talking about? https://codepen.io/Vireshh/pen/GYWaPE
still allowing duplicates... are you using multiple or single select?...You need to select eg foo then bar then you can select foo again ...which is a duplicate in your selection

try this one:
https://codepen.io/travis18/pen/zmZgpR

Thank you @travis18. I got it to work.

dude what are talking about? https://codepen.io/Vireshh/pen/GYWaPE
still allowing duplicates... are you using multiple or single select?...You need to select eg foo then bar then you can select foo again ...which is a duplicate in your selection

try this one:
https://codepen.io/travis18/pen/zmZgpR

I can麓t get this working in latest vue-select 2.5.1 (but your pen uses vue-select 2.4.0 and it works :/ ). I麓m i missing something or is this bug related to 2.5?
https://codepen.io/amstrad/pen/pxppRK

captura de pantalla 2018-10-16 a las 16 37 35

dude what are talking about? https://codepen.io/Vireshh/pen/GYWaPE
still allowing duplicates... are you using multiple or single select?...You need to select eg foo then bar then you can select foo again ...which is a duplicate in your selection

try this one:
https://codepen.io/travis18/pen/zmZgpR

I can麓t get this working in latest vue-select 2.5.1 (but your pen uses vue-select 2.4.0 and it works :/ ). I麓m i missing something or is this bug related to 2.5?
https://codepen.io/amstrad/pen/pxppRK

captura de pantalla 2018-10-16 a las 16 37 35

I am not sure if it's a bug related to 2.5, but it didn't happen in 2.4.0. I can only use this version as workaround.

I just made a pull request to fix this issue.
Please, let me know if it needs some improvements.

Is there any update on this? This is still broken in 2.5.1...

@marbuser should bump this one https://github.com/sagalbot/vue-select/pull/693

i am also facing same issue. for now, i think i should switch to v2.4.0

hey there, I too am also facing the same issue with the latest version. v2.4.0 works, but with storing the actual objects in the model instead of the value

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidalvarezr picture davidalvarezr  路  3Comments

gilles6 picture gilles6  路  3Comments

twz915 picture twz915  路  3Comments

xuwenhao picture xuwenhao  路  3Comments

theseawolves picture theseawolves  路  4Comments