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

In mode "Tags" with an array of objects, an error message should be shown when valueProp can not be found #417

Open
yennor opened this issue Jun 25, 2024 · 2 comments

Comments

@yennor
Copy link

yennor commented Jun 25, 2024

Version

  • Vue version: 3

Description

When the options consist out of an array of objects and mode tags is used, it seems to be impossible to choose more than one option. After choosing one option, no results found is shown.

Demo

https://jsfiddle.net/xan2dwyc/

@Umar-37
Copy link

Umar-37 commented Jul 8, 2024

Version

  • Vue version: 3

Description

When the options consist out of an array of objects and mode tags is used, it seems to be impossible to choose more than one option. After choosing one option, no results found is shown.

Demo

https://jsfiddle.net/xan2dwyc/

I don't know why but you need to change "name" in options object to "value"

{ "id": 703, "value": "Oltingen", "zip": "4494", "lat": 47.434895, "lng": 7.9368653, },

@yennor
Copy link
Author

yennor commented Jul 8, 2024

Thanks a lot! thanks to you I found out the problem.
valueProp needs to be set. No idea how I could oversee that. I guess it's been late at night ;-)
I've updated the fiddle.
https://jsfiddle.net/d469Lxbo/

In that case. I'd say. some kind of error message should be shown, when valueProp can not be found.

@yennor yennor changed the title In mode "Tags" with an array of objects, it's impossible to choose more than one option In mode "Tags" with an array of objects, an error message should be shown when valueProp can not be found Jul 8, 2024
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

2 participants