PDA

View Full Version : [CLOSED] Trigger Field and Text Field EmptyText Behavior Firefox



RCM
Nov 07, 2012, 9:53 PM
Hi,

I have a trigger field and a Text Field with the emptyText property set the "Search". When the field get focus in IE the empty text is cleared from the field. However when the field gets focus in Firefox, the emptytext value is not cleared from the field until you start typing in the field. Is this behavior correct?

Baidaly
Nov 07, 2012, 11:10 PM
Hi,

I have a trigger field and a Text Field with the emptyText property set the "Search". When the field get focus in IE the empty text is cleared from the field. However when the field gets focus in Firefox, the emptytext value is not cleared from the field until you start typing in the field. Is this behavior correct?

Hello!

Yes, it's correct behavior. This behavior made by browsers developers for 'placeholder' attribute which is used by ExtJS, but IE doesn't support this attribute. You can read more about 'placeholder' here http://www.w3schools.com/html5/att_input_placeholder.asp

Daniil
Nov 09, 2012, 3:23 PM
Yes, I can confirm that it is browser's behavior. Unfortunately, we cannot affect on it.