sagalbot/vue-select

Setting initial value via value prop locks the selection

Offen

#1.270 geöffnet am 21.08.2020

 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (1.307 Forks)batch import
bughelp wantedhigh priority

Repository-Metriken

Stars
 (4.548 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Describe the bug in 3.. you can no longer set the selection via the value prop without vue-select locking its selection to that initial value. That is fine if you put a vue/vuex data object and update that but if you set the value prop as a string (ex. your data comes from PHP)

To Reproduce https://codepen.io/roennow/pen/yLOVbwE Try to select something different than foo

Expected behavior https://codepen.io/roennow/pen/bGpBWJr When you select something different than foo it actually does it

Desktop:

  • OS: macOS Catalina (10.15.6)
  • Browser Firefox
  • Version 78.0.2

Contributor Guide