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

Current value not shown if resolve-on-load="false" and options="async ..." #375

Open
aimeos opened this issue Oct 19, 2023 · 0 comments
Open

Comments

@aimeos
Copy link

aimeos commented Oct 19, 2023

Version

  • Vue version: 3

Description

Using the code from the documentation (https://github.com/vueform/multiselect#autocomplete-with-async-options):

  v-model="value"
  :searchable="true"
  :resolve-on-load="false"
  :options="async function(query) {
    return await fetchLanguages(query)
  }"

If the value property already has a value, it's not shown in the input field.

Demo

https://jsfiddle.net/u389rv01/

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

1 participant