}
this.hasFocus = false;
if(this.validationEvent !== false && this.validateOnBlur && this.validationEvent != "blur"){
+ Roo.log("VALIDATE ON BLUR");
this.validate();
}
var v = this.getValue();
*/
reset : function(){
this.setValue(this.originalValue);
+ Roo.log("VALIDATE ON RESET");
this.validate();
},
/**
this.value = v;
if(this.rendered){
this.inputEl().dom.value = (v === null || v === undefined ? '' : v);
+ Roo.log('VALIDATE ON SET VALUE');
this.validate();
}
},
this.el.select('.form-control-feedback', true).first().removeClass([this.invalidFeedbackClass, this.validFeedbackClass]);
}
- if(this.disabled || this.allowBlank){
+ if(this.disabled){
return;
}