saher saher - 6 months ago 539
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?

Thanks

Answer

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?

Comments