Roo/form/Field.js
authorEdward <edward@roojs.com>
Fri, 7 Mar 2014 09:19:44 +0000 (17:19 +0800)
committerEdward <edward@roojs.com>
Fri, 7 Mar 2014 09:19:44 +0000 (17:19 +0800)
Roo/form/Field.js

index eb2d966..7ad268d 100644 (file)
@@ -268,7 +268,7 @@ side          Add an error icon to the right of the field with a popup on hover
      * Resets the current field value to the originally loaded value and clears any validation messages
      */
     reset : function(){
-        this.setValue(this.originalValue);
+        this.setValue(this.resetValue);
         this.clearInvalid();
     },