question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make it possible to open a Dropdown programally

See original GitHub issue

Currently it’s quite difficult to open a Dropdown from a parent component.

It would be nice to have a way to define additional togglers or a v-model to control the visible state itself.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
klarkccommented, Nov 29, 2017

This does not need to be documented here?

0reactions
Osman-Raficommented, Dec 25, 2021

In solution for this problem now @tmorehouse ? this.$refs.ddown.visible = true & this.$refs.ddown.showMenu(); not working for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can you programmatically tell an HTML SELECT to drop ...
First, make you <select> transparent ( opacity: 0; ). Then, place your button over the <select> . The click over the button will...
Read more >
BrowserQuirk: Programmatically opening a <select> box.
So this brings us back to the original problem: how can we make the custom arrow trigger an open on the select menu?...
Read more >
Programmatically open select dropdown · Issue #4261 - GitHub
I have a SELECT MULTIPLE element in a form. On form submit I call a Javascript function to validate the form and see...
Read more >
I want to simulate a click event on drop down - CodeProject
You can simulate the click, but it won't cause the drop-down list to open. If you want better programmatic control of the list,...
Read more >
Open Select via javascript - CodePen
Triing to find out a consistent way to open select while clicking on different element...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found