-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
[HxAutosuggest] [HxInputTags] Stop propagation of Enter key event when selecting an item #584
Comments
@TPIvan Are you sure? We are using HxAutosuggest in our applications on daily basis and I'm not able to reproduce the form submisssion with Enter key when selecting a suggested item from list. ... I will try to test your repro-code. |
In the end I was able to reproduce your issue using the code sample provider. Thank you! In our code, we usually do not use ...will track this as a bug to resolve. |
I observed this issue with |
Notes for Future Fixes:
(If anyone is interested in addressing this and creating a pull request, your contribution would be greatly appreciated.) |
I have
HxAutosuggest
in a Form:The problem is that when I select an item from the drop-down list using the arrow keys and then press the Enter key, the form is submitted automatically. This is not the expected behavior, as I only want to submit the form when I click the submit button. I think that
HxAutosuggest
should stop the propagation of the Enter key event when an item is selected, so that it does not trigger the form submission. Is there a way to achieve this or is it a bug?The text was updated successfully, but these errors were encountered: