I assign a tooltip to an input when there is a form validation error. After 
a few times of rendering it then begins to flicker on quickly then 
disappears on subsequent validation errors. Initially I thought I was 
binding multiple event handlers, but I am only initializing once then 
toggling states something like below. What am I doing wrong?

if (!this.renderFormError[key]) {
    this.renderFormError[key] = true;
    $target.tooltip({ trigger: 'manual' });
}

if (error)
   $target.tooltip('show');
else 
   $target.tooltip('hide');

Reply via email to