Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab key triggers search #111

Open
sharakouze opened this issue Mar 20, 2021 · 1 comment
Open

tab key triggers search #111

sharakouze opened this issue Mar 20, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@sharakouze
Copy link

I don't understand why, but when my select autocomplete got focus via a TAB, it triggers a search event and the dropdown is shown.

This is a problem in a edit form. In this case the autocomplete field is prefilled with the previouly saved value.
If the user browses the form with the tab key, when the autocomplete gets the focus, the dropdown appears and if the user hit the tab key again, the autocomplete is cleared but the user didn't request any changes !!

Setting the focus on the autocomplete via the mouse click doesn't have the same behavior

How could I get around this problem ?
Thank you

@sharakouze sharakouze changed the title focus triggers search tab key triggers search Mar 20, 2021
@xcash xcash self-assigned this Apr 14, 2021
@xcash
Copy link
Owner

xcash commented Apr 14, 2021

Linked to #114

@xcash xcash added the bug label Apr 14, 2021
@xcash xcash added this to the 3.0.0 milestone Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants