View Full Version : [DUP] emptyText cropped on double quotes

6 Aug 2015, 3:59 AM
Consider this example (https://fiddle.sencha.com/#fiddle/roj):

xtype: 'textfield',
renderTo: Ext.getBody(),
listeners: {
'afterrender': function(f) {
if (f.emptyText && f.getRawValue().length < 1) {
emptyText: 'word in "quotes"'

Testing in Chrome 44.0.2403.125 (64-bit) on Linux.

The emptyText value initially reads word in instead of expected word in "quotes", i.e. it is cropped on the first double quote. Only once applyEmptyText() is internally called (after field reset, for example) the emptyText value appears in full.

As a temporary fix I am calling applyEmptyText() on afterrender.

Gary Schlosberg
7 Aug 2015, 3:13 PM
Thanks for the report. We're tracking that issue on this thread: