Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Wed, 1 Aug 2018 05:22:38 +0000 (13:22 +0800)
committerEdward <edward@roojs.com>
Wed, 1 Aug 2018 05:22:38 +0000 (13:22 +0800)
Roo/bootstrap/Input.js

index 4eef38b..7f6d464 100644 (file)
@@ -745,6 +745,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
     
     onChange : function(e)
     {
+        Roo.log('onChange');
         var v = this.getValue();
         if(String(v) !== String(this.startValue)){
             this.fireEvent('change', this, v, this.startValue);
@@ -761,6 +762,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         Roo.log('reset');
         this.setValue(this.originalValue);
         this.startValue = this.getValue();
+        Roo.log(this.startValue);
         this.validate();
     },
      /**