How do I get an onkeypress event for TextArea?

Hey guys, how would one fire an onkeypress event for a TextArea?

I noticed that this event does not exist and the only data change event only triggers once you click off the text field.
This is a critical thing as I’d like to update the state of a form dynamically.

I look forward to your help, thanks!

Hi Tomasz,

Yes, it’s easy in Servoy!

Use the SvyKeyListener plugin.
https://github.com/Servoy/svyKeyListener/wiki

  1. Design-time: add the attribute to your text area (or any component)
  2. On Show: Use the plugin to register your callback handler
  3. Receive the text in your callback method.

Best,
Sean

Thank You, Sean, you’re a hero!