Skip to content
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

Apply tooltips to form elements #2

Open
k3davis opened this issue Nov 12, 2024 · 0 comments
Open

Apply tooltips to form elements #2

k3davis opened this issue Nov 12, 2024 · 0 comments

Comments

@k3davis
Copy link

k3davis commented Nov 12, 2024

I have a sort of niche case where I want to apply a tooltip to a form input (placeholder text won't fit). This doesn't work as-is. Additionally the inputs themselves are rendered in a v-for so while I found I could make the tooltip work by applying it to a wrapping div (for example), it complicates the code to have to do that.

I tried using the component method instead of the directive (putting the input in the component's template) and that works, but the animation is really jumpy, and the same overall complication applies -- I guess I could try applying v-for to the tooltip component itself but that's definitely not intuitive.

TL;DR Is it possible that this component could allow directive tooltips to work when applied to input tags?

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

No branches or pull requests

1 participant