From 8bc41c6e1855cd364ca291aea0c9754bbcdb385b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 31 Jul 2019 12:11:07 +0800 Subject: [PATCH] Changed Roo/form/TextField.js --- Roo/form/TextField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/form/TextField.js b/Roo/form/TextField.js index a50d6ca2ec..451c63f936 100644 --- a/Roo/form/TextField.js +++ b/Roo/form/TextField.js @@ -174,7 +174,7 @@ Roo.extend(Roo.form.TextField, Roo.form.Field, { // private - clean the leading white space cleanLeadingSpace : function(e) { - if (this.inputType == 'file') { + if (this.constructor == Roo.Form.TextField && this.inputType == 'file') { return; } -- 2.39.2