Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue-select doesn't reactive #917

Closed
bagaskarala opened this issue Jul 30, 2019 · 4 comments
Closed

Vue-select doesn't reactive #917

bagaskarala opened this issue Jul 30, 2019 · 4 comments

Comments

@bagaskarala
Copy link

Describe the bug
Vue-select is not reactive if we set the v-model. In other words, can't be selected programmatically.

To Reproduce
Steps to reproduce the behavior:

  1. Just change your v-model of vue-select to other value
  2. Then vue-select doesn't reactive follow the changes

Expected behavior
It should change reactive follow the v-model that we set.

Screenshots
bug vue-select
In the pic above, i use bootstrap-vue form-select on top and use vue-select on bottom. You can see if we change the roleId as seen in the vue-dev-tools, the vue-select doesnt change the selected value.

Desktop (please complete the following information):

  • OS: Windows 10 home
  • Browser Chrome
  • Version 75.0.3770.142 (Official Build) (64-bit)

Additional context
it is very annoying that one of most popular select plugin on vue doesnt have reactivity. please fix that issue, thx.

@porcelanosa
Copy link

Can you provide code example?
I have similar issue but model is reactive

@doits
Copy link
Contributor

doits commented Jul 31, 2019

See #914 where one of such cases is fixed. Maybe it fixes your problem, too?

@bagaskarala
Copy link
Author

See #914 where one of such cases is fixed. Maybe it fixes your problem, too?

Oohh i see, i'm using reduced primitive value to programmatically select. It should use one of the option.

Ok clear, solved thanks!

@thainvnv
Copy link

See #914 where one of such cases is fixed. Maybe it fixes your problem, too?

Oohh i see, i'm using reduced primitive value to programmatically select. It should use one of the option.

Ok clear, solved thanks!

Can you send me your code , I have same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants