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

Feature request: tooltips on input fields #49

Closed
dnmeid opened this issue Jun 1, 2018 · 8 comments
Closed

Feature request: tooltips on input fields #49

dnmeid opened this issue Jun 1, 2018 · 8 comments
Labels
Enhancement New feature or request Good first issue Good for newcomers

Comments

@dnmeid
Copy link
Member

dnmeid commented Jun 1, 2018

When offering the user an input field like textinput or dropdown menu it should be possible to to show a tooltip when hovering over the input. So we can offer some additional information about the expected input data, like its format or what it is good for.

@willosof willosof added Enhancement New feature or request Good first issue Good for newcomers labels Jun 5, 2018
@willosof willosof added this to the v1.1.0 milestone Jun 5, 2018
@haakonnessjoen
Copy link
Member

I think we should add "placeholder" support too. For showing example-data inside text fields.

@willosof
Copy link
Member

shouldnt the placeholder be the default value instead?

@haakonnessjoen
Copy link
Member

A placeholder gives an example of a value. But often not what you want. A default value is most likely what you want.

@dnmeid
Copy link
Member Author

dnmeid commented Jun 10, 2018

Ok, but how should be placeholder and default value implemented at the same time?
I think it is easier to go with the default value in the field and you can additionally show examples in the tooltip.

@haakonnessjoen
Copy link
Member

When you specify just placeholder, the tag has if you have defined a default value, the tag will have

@willosof
Copy link
Member

Placeholders are spooky, we might want to have no value in the field.

@haakonnessjoen
Copy link
Member

haakonnessjoen commented Jun 10, 2018

Placeholders are exactly that, no value. But tooltips could be ok to. But maybe they should be some magic kind, that appears without waiting long for it.

@willosof
Copy link
Member

I know, that is the problem. If the placeholder says "hello", and I want the field to be EMPTY instead of "hello", that won't work with the placeholder-approach. Rather a default value with a tooltip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants