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

index 83c010b..4eef38b 100644 (file)
@@ -758,6 +758,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
      * Resets the current field value to the originally loaded value and clears any validation messages
      */
     reset : function(){
+        Roo.log('reset');
         this.setValue(this.originalValue);
         this.startValue = this.getValue();
         this.validate();
@@ -819,6 +820,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
      * @param {Mixed} value The value to set
      */
     setValue : function(v){
+        Roo.log('setValue');
         this.value = v;
         if(this.rendered){
             this.inputEl().dom.value = (v === null || v === undefined ? '' : v);