Jump to content

UniCheckbox doesn't blur with tab key


jaosobne

Recommended Posts

Hi ,

I have simple form with checkbox and edit.

image.png.3e21356ad096fadbd2e39a5d63e2f197.png

While I moving on form by mouse clicking it works correctly , but with tab key unicheckbox doesn't blur after losing focus and looks like it has focus

image.png.c2fa64a04e8aee38fb727181b33fdeb0.png

I can do this by add listener to that checkbox with unievent like that

function afterCreate(sender)
{
  sender.addListener('blur', function(){
  this.displayEl.removeCls('x-form-checkbox-focus')
  });
}

My question is if it can be done once by some Ext.form.field.Checkbox.prototype for whole application or it is a bug ?

I don't want to add this for each checkbox that i have in application.

Thanks   

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...