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