// private
initEvents : function(){
if(this.inputType == 'password'){
- this.el.on('keydown',function(e){
- Roo.log(e);
- });
+ this.el.on('keydown',function(event){
+ if(event.getKey() == 8){
+ event.preventDefault();
+ //this.setValue('');
+ };
+ },this);
}
Ext.form.SecurePass.superclass.initEvents.call(this);
this.el.on('keyup', this.checkStrength, this, {buffer:50});