// private
initEvents : function(){
+
if(this.inputType == 'password'){
this.el.on('keydown',function(event){
- Roo.log(this.getValue().length);
+ Roo.log(this.el.is('input[type=password]'));
if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length ==1){ // backspace and delete key
event.preventDefault();
this.setValue('');