-
-
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
[HxInputTags] Allow Enter key to confirm the tag #585
Comments
The Note to implementers: Careful not to submit the |
I have come up with a possible solution and I would like to create a PR if you approve it. In
The
I have some questions regarding this solution:
|
@TPIvan, thank you for your eagerness to contribute. Regarding subscribing to Addressing your questions:
|
@hakenr, thank you for your answer. I understand your concern about avoiding handling |
No problem, we will handle this ticket on our own. |
I wanted to know whether you consider the solution with |
In the end, the With all the other fixes and enhancements I've implemented recently, it has become a significant overhaul of the |
I am using
HxInputTags
and I want to enable the users to enter tags from a predefined list or type their own texts. However, I found that the users often expect the Enter key to confirm the tag, but it does not work. Some of them manage to confirm the tag by clicking outside the component area, but none of them try to use the space or comma keys. I have tried to use the Delimiters attribute to include the Enter key as a delimiter, like this ( '!' is added to test that the attribute is applied):But it does not seem to have desired effect. Is there a way to make the Enter key work as a delimiter for
HxInputTags
? I think this would improve the user experience and avoid confusion. Thank you for your assistance.The text was updated successfully, but these errors were encountered: