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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...