Roo/form/Field.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 14 Nov 2011 09:43:40 +0000 (17:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 14 Nov 2011 09:43:40 +0000 (17:43 +0800)
Roo/form/Field.js

index 3b8daed..5cc323d 100644 (file)
@@ -483,7 +483,7 @@ side          Add an error icon to the right of the field with a popup on hover
         this.value = v;
         if(this.rendered){
             this.el.dom.value = (v === null || v === undefined ? '' : v);
-            this.shadowNameEl ? (this.shadowNameEl.value = (v === this.emptyText) ? '' : this.el.dom.value)) : false;
+            this.shadowNameEl ? (this.shadowNameEl.value = (v === this.emptyText) ? '' : this.el.dom.value) : false;
             this.validate();
         }
     },