# typedInput option tooltip

**URL:** https://discourse.nodered.org/t/typedinput-option-tooltip/27607
**Category:** Feature Requests
**Created:** [1 June 2020 09:40 UTC](https://discourse.nodered.org/t/typedinput-option-tooltip/27607 "2020-06-01T09:40:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 June 2020 09:40 UTC](https://discourse.nodered.org/t/typedinput-option-tooltip/27607/1 "2020-06-01T09:40:34Z")

</div>

@knolleary, @dceejay

Firstly, I appreciate how busy you guys are right now (I've seen all the recent commits) so thank you for even reading this 🤞

I wonder if it would be possible to slip a very simple request in before 1.1 beta please?

It is to add a very small enhancement to the typedInput widget - permitting a node to set the tooltip of an option or checkbox item in the typed input. I find this preferable to very long option texts.

e.g...

 ![typedinput-titles](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/c/2cc4a2c862ca7c6fbabb04d4b5dc63c3d20b9fda.gif)

I believe all that is required is to add...

```
if (opt.title) {
    op.prop('title', opt.title)
}

```

... at [this line](https://github.com/node-red/node-red/blob/c6c42740c5d5800d019a91abdce4379f4cc13904/packages/node_modules/%40node-red/editor-client/src/js/ui/common/typedInput.js#L372) in typedInput.js

---

<div class="post-metadata">

### Author: ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)
#### Post date: [1 June 2020 09:57 UTC](https://discourse.nodered.org/t/typedinput-option-tooltip/27607/2 "2020-06-01T09:57:05Z")

</div>

Even though I'm (so far) only a custom node maintainer, I second this from the user perspective.

Such long select options would be IMO out of the question, so the only reasonable way currently would be to have the descriptions in the documentation. However in this case as the descriptions are simple one liners, they'd be much more convenient displayed as tooltips.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [1 June 2020 10:22 UTC](https://discourse.nodered.org/t/typedinput-option-tooltip/27607/3 "2020-06-01T10:22:42Z")

</div>

Happy to look at a pull request on the `dev` branch.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 June 2020 10:30 UTC](https://discourse.nodered.org/t/typedinput-option-tooltip/27607/4 "2020-06-01T10:30:21Z")

</div>

Thanks Nick.

As requested: [https://github.com/node-red/node-red/pull/2586](https://github.com/node-red/node-red/pull/2586)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [31 July 2020 10:30 UTC](https://discourse.nodered.org/t/typedinput-option-tooltip/27607/5 "2020-07-31T10:30:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
