saher saher - 2 years ago 1161
AngularJS Question

AngularJs: tooltip on mouse hover to single value of dropdown using ng-options

I am using ng-options for dropdown using 'select' tag.
I have to select only one option from drop down at a time.
While selecting option from drop down I have to show tooltip when I am hovering mouse on particular option.
I am able to show all the values in dropdown but not able to show the tooltip.

Could anyone please tell me how to show tooltip for ng-options?


Answer Source

You will have to create a custom select box for the same. No other element can be associated with the <option> tag (Generated by ng-options). And so you cannot introduce tooltip description. You want me to help you with the code?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download