Comments (2)
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
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, },
from multiselect.
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.
from multiselect.
Related Issues (20)
- Add focus/blur event emits HOT 1
- Clicking the clear icon HOT 1
- Typescript Build Error HOT 1
- can't add option with space in mobile
- Opening disabled input
- Select does not scroll to selected item when the list is large HOT 2
- `getOption` does not work when `value` is an object. HOT 1
- Empty values in createOption with trimmed value HOT 1
- Prop `closeOnScroll` doesn't work with `appendToBody`
- Expose loading state on async options HOT 1
- appendToBody on async options: dropdown position is incorrect for the first time appearance HOT 1
- [Feature Request] Choose positioning for appendToBody
- Expose default search/filter function
- issue with :append-to-body="true" in a modal. HOT 2
- Tags mode displaying tag count limit
- Potential Regression: emits null right after emitting the selected value in 2.6.8
- Project not run with version 2.6.8 HOT 1
- With groupHideEmpty the group label is still visible HOT 2
- Tags are not accessible with keyboard (WCAG)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multiselect.