Roo/form/Field.js
authorEdward <edward@roojs.com>
Mon, 3 Sep 2018 05:27:19 +0000 (13:27 +0800)
committerEdward <edward@roojs.com>
Mon, 3 Sep 2018 05:27:19 +0000 (13:27 +0800)
Roo/form/Field.js

index fa2fb79..8baa2c7 100644 (file)
@@ -293,8 +293,8 @@ 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.originalValue = this.resetValue;
         this.setValue(this.resetValue);
+        this.originalValue = this.getValue();
         this.clearInvalid();
     },