Open hooper-ux opened 3 months ago
Carbon Team can explore design variations to provide an option to have a tooltip within textinput and similar components. @hooper-ux It will be helpful if you could share specific usecases where you felt the need for a tooltip over and above the helpertext.
Thanks @benjamin-kurien. Here are a few scenarios:
Detailed description
The text input component has an option to show a label, but there is no easy way to make that label into a tooltip. Rather than it being a simple text element, it would be good if the Tooltip component was embeded into the Text Input component.
v11
https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-All-themes---Carbon-Design-System?node-id=15784-271028&t=VsRERJmjY2iDt0WG-4
I wanted to add a "definition tooltip" to the label on a Text Input component. However, since definition tooltips use a dotted underline and not a solid underline, it was not as simple as changing the text style. To add a dotted line under the text meant I had to detach the component. I would prefer the text label to have a variant control where I could choose between No tooltip, Definition Tooltip, and Icon Button tooltip.
Envizi-SCI. No pressing deadline. This is more of an issue related to designer efficiency and improving the Figma component.
Additional information
It would be good to also consider this enhancement to all form elements (i.e. dropdown, text area, date picker, etc.)