[FIXED] How to add conditional tooltip using primeng?


I am trying to add a conditional tooltip over a button. Using primeng tooltip component:

<div pTooltip="Please upload" style="display:inline-block;" tooltipPosition="top" 
   tooltipDisabled = "flag">
     <button class="btn btn-primary btn-xs"><i class="fa fa-check" 

It is not working.

However, tooltip without “tooltipDisabled” is working fine.

Can someone please help me?


use [tooltipDisabled]="flag" instead

Answered By – BillF

Answer Checked By – Pedro (Easybugfix Volunteer)

Leave a Reply

(*) Required, Your email will not be published