Skip to content

Add ability to set title of choices in dropdown (for tooltip functionality) #1284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
m4xxed opened this issue Mar 3, 2025 · 0 comments
Open

Comments

@m4xxed
Copy link

m4xxed commented Mar 3, 2025

Is your feature request related to a problem? Please describe.

I often have the situation where options in the dropdown menu are too large to be fully seen and the area in which options differ is outside of the visible area. In this case, it would be nice to have a tooltip on mouse-hover, both for the options and the selected option if the dropdown is not active.

Describe the solution you'd like

Add an optional "title" attribute to the InputChoice interface which will be set as the title of the element.

Describe alternatives you've considered

I have considered adding the title attribute to each element after initializing the Choice object, therefore having the tooltip available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant