Textarea / sp-textarea no Enter key event - but with text input it works

Hi,

I can register for an Enter key event for a text input but not textarea / sp-textarea.
Is there a chance this will change?

Is there a workaround?
I mean it works for input. Then it can work for textarea too, no?

Appreciate any feedback.

There was a similar topic before. It’s likely that UXP is designed that way, so I guess it won’t be changed.

  • Elements that are expected to have only one line of text can capture the Enter key event
  • Elements that are expected to have multiple lines of text can’t capture the Enter key event

Thanks! Yes, there are some posts but they are mostly from 2022/2023….my hope is that there were some updates.