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

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