Comments (1)
Nvm I've found a solution by simply modifying the open
property of the component instance directly, like so:
<VSelect
ref="vSelect"
...
/>
const vSelect = ref(null)
defineExpose({
openDropdown: () => vSelect.value.open = true,
closeDropdown: () => vSelect.value.open = false,
})
from vue-select.
Related Issues (20)
- ambiguous indirect export: VueSelect HOT 1
- @input event in Vue.js 3 HOT 1
- Vue Select doesn't work on Bootstrap Modal HOT 1
- Localization not possible for aria-label & title attributes
- How to use @change/@input for changing a local value HOT 1
- Input event not being emitted HOT 1
- I'm not able to change vs--disabled background styles HOT 3
- Bug: Entered search data persists in vue-select with 'required' and 'multiple' enabled
- appendToBody="true" and dir="rtl"
- bug(docs): Codepen for the scoped slot option is broken.
- bug(animation): The fade out animation does not work when the appendToBody option is set.
- Instead of a masonry layout for multiple selected options, have one option per line
- Allow a set option to be edited
- option:selected returns all selected options instead of only the new selected option
- 4.0.0-beta.6 for vue 3 but are loading dependencies @types/vue-select 3.16.8 and this are loading dependencies "vue": "^2.0.0"
- 4.0.0-beta.6 vue-select.es.js:268 [vue-select warn]: Label key "option.label" does not exist in options object {}.
- select box dropdown not displaying properly inside dialog
- can we add additional prop for attach to field like append-to-body
- Dynamic positioning with Floating UI
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-select.