Forum Academy Marketplace Showcase Pricing Features

Pressing enter in input not triggering button


I have an input field and a button in a group, as suggested everywhere to submit the button when pressing enter inside the input field:

To check if it works, I have a text field showing the text from the input. When I press the button the text is shown in the text field, but when pressing enter inside the input field nothing happens.
Any ideas?


Hi, thanks for posting about this! I did some research and found a workaround that some of our users have come up with: if you group the input element and button together, clicking the “Enter” key should trigger the button’s workflow. I was able to find a couple forum posts about this that explain in a bit more detail (Saving text on Return Key). I hope this helps!

This topic was automatically closed after 70 days. New replies are no longer allowed.