Comments (1)
Need to do something similar as well. Would be nice to programmatically close the dropdown menu OR disable showing the dropdown menu when an item has been discarded from the MultiSelect component.
Why is it needed? In cases where we need to trigger a fetch request based on the selected items and it takes quite a while to fetch the items, the user might select several items (while the fetch is still in progress) which has the potential to create race conditions. This can cause the old data to be shown instead of the new.
@moreta hi, if you think this is a relevant addition, I could perhaps create a PR for this, Maybe adding a boolean prop to stop showing the dropdown after an unselect event.
from vue-search-select.
Related Issues (20)
- Is there a way to detect when component looses focus?
- Cant import component globally?
- Cant add conditional statements in IsDisabled property
- is-disabled prop does not work properly
- input group prepend
- Typescript Support? HOT 2
- Vue 3 HOT 3
- Getting error undefiend _c HOT 1
- facing issue while importing basic-select
- Vue search select not working infinite scroll
- Bug with Multi Select when pressing up/down key
- "is-disabled" prop is not working properly for "MultiSelect" and "MultiListSelect" HOT 1
- dropdown icon
- [Feat. request] Option to allow new item to be selected
- The 'blur' event is not emitted by the ModelListSelect component.
- Slots are not usable by ModelListSelect
- Space in value is causes to be stuck in search
- error on enterItem HOT 1
- `modelListSelect` doesn't hide when inside `label`
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 vue-search-select.