How to capture "Enter" key presses

  • Goal: I'd like to respond to a user hitting "Enter". Currently it does not seem like custom shortcuts support this and I see no way to catch key events.

  • Steps: Custom shortcuts

  • Details: Specifically I want to do this in a Text Area component

1 Like

Using event handlers can make it work. Choose the Submit Event, then add the Action you're looking to trigger.

The Submit Event will be triggered if Enter is pressed on the TextInput.

Hope this is what you're looking for.

Hi Adorp,

Thanks for looking at this with me! Unfortunately I don't think the submit event exists on a text area component.

Other ideas/suggestions?