Skip to content
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

angular2multislect tooltip #628

Open
spartan221098 opened this issue Sep 29, 2022 · 1 comment
Open

angular2multislect tooltip #628

spartan221098 opened this issue Sep 29, 2022 · 1 comment

Comments

@spartan221098
Copy link

How we can use the tooltip in angular2multiselect dropdown?

@Hugo221989
Copy link

Hugo221989 commented Jun 28, 2024

Hi,

I guess you are trying to use a tooltip in the options of the select. Here there is a code that works perfectly:

<angular2-multiselect [data]="usersSelectList" [(ngModel)]="selectedUsers" [settings]="dropdownSettings" (onDeSelect)="onDropDownUsersClose($event)" (onDeSelectAll)="onDropDownUsersClose($event)" (onClose)="onDropDownUsersClose($event)"> <c-item> <ng-template let-item="item"> <label ngbTooltip="{{item?.fullName}}" container="body">{{item?.itemName}}</label> </ng-template> </c-item> </angular2-multiselect>

As you can see you have to customize the options part with the label <c-item>.
I hope anyone find this helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants