Using Dropdowns in a Plugin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am working on a plugin that involves creating a dropdown menu with a list of file names. The main objective is to enable users to select an item from the dropdown and then proceed by clicking the "Ok" button, just like a ui.selectEntity box.
While exploring the available documentation, I have come across several dropdown examples. However, it appears that each of them necessitates an event handler to facilitate the plugin's response when a specific item from the list is chosen. I am hoping to find a simpler way of implementing this.
I would appreciate any guidance or assistance you can provide to implement this functionality.
Thanks in advance!