PDA

View Full Version : QuickTips - Problem when clearing title attribute



timb
28 Feb 2007, 7:44 AM
If QuickTips are enabled and you try to clear the title attribute of an element, the tooltip will still be shown.

I was able to reproduce this using code similar to the following:

Ext.QuickTips.init();
var tf = new Ext.form.TextField({allowBlank: false});
tf.render('container');

When the form comes up, tab out of the text field and hover over the control. You should see the tooltip. Now enter a value, tab out of the text field and hover over the control. You should see the tooltip (bug).

Edit: I should mention that I tried without initializing the QuickTips, and it worked as expected.

Regards,
Tim

jack.slocum
28 Feb 2007, 8:52 AM
This is fixed in the coming rev. It is now a config option on the fields (defaults to quick tips) to use qtips instead of title.

timb
28 Feb 2007, 12:34 PM
Hi Jack,

Thanks for the udpate. I have test it with 1.0 Alpha 2 Rev 6 using the example above. The problem has been resolved.

Thanks,
Tim