cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement tooltip into select2-results class?

MEM4FP_
Champ in-the-making
Champ in-the-making

So in the select2-drop widget, where it displays all options in the dropdown, I want it to display a tooltip description for each option that I hover over.

Here's what I've done so far within the inlinejs property under a widget name using the suggestManyDirectory type, and it doesn't work. I have inserted this code inside the foldable box widget, within a bold containerLabel inside the inlinejs property.

jQuery(document).ready(function() {
    jQuery('ul.select2-results').tooltip();
    });

And Firefox firebug gives me an error:

TypeError: jQuery(...)tooltip is not a function

How can I fix this?

1 REPLY 1

pmbroca_
Champ on-the-rise
Champ on-the-rise

Hi!
/> I think that this page [migration 5.8 to 6.0] (https://doc.nuxeo.com/display/ADMINDOC/Upgrade+from+5.8+to+6.0) can help you.