-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add tooltip for each dropdown element? #553
Comments
Sorry, by default the directive does not support tooltip. |
You can create a directive which name would be Note: it should have restricted over
|
We could reuse the existing function. Just use this in the HTML. title="{{writeLabel( item, 'buttonLabel' )}}" |
@ArivananthamA could you please explain this solution? here is my element
|
Just add the attribut title="{{writeLabel( item, 'buttonLabel' )}}" in your div, will work. |
@ArivananthamA |
You should not add there. Should be changed in the hardcoded template section at the isteven-multi-select-4.0.0.js file. |
@ArivananthamA thanks for answering, but how element itself should be configured to show my custom tooltips for each item? Seems it shows value as a tooltip |
In isteven-multi-select.js line 593 you can trust each e.g.:
$scope.cars = [
{ model: `<label title="${car1.year}">${car1.model}</label>`, year: car1.year },
{ model: `<label title="${car2.year}">${car2.model}</label>`, year: car2.year }
]; |
I want to show a tooltip for each drop-down element and that will be dynamic. Can you please help me?
The text was updated successfully, but these errors were encountered: