brianvoe / slim-select

Slim advanced select dropdown
http://slimselectjs.com
MIT License
1.03k stars 195 forks source link

showOptionTooltips: allow to pass a title #518

Open Zerotask opened 7 months ago

Zerotask commented 7 months ago

Describe the bug I'd like to pass a title, which is not the text content but a longer description

showOptionTooltips option is used to active displaying the on-hover tooltips for select options. The tooltip text is equal to the option text content.

therefore I want to simple add the title attribute to the options:

<option title="Some description" value="someValue">Some Text</option>

My workaround at the moment is using the described data-html attribute.

brianvoe commented 7 months ago

Currently that isnt built.