TextArea ActionEvent ...

Hello,
I/m using te echo3 server side.
I'm using the ActionEvent (which fires when the Enter key is pressed) to store the contained text into a database.

Unfortunately if I want to create a multine comment inside the TextArea, the event is fired also if when I press enter I press simultaneously Shif (to return at new line).

I think this is an unwanted behaviour.

Any idea how to filter out when Shift is Pressed ?

Thank you,
Boris

ScoPi's picture

I don't believe there is in

I don't believe there is in the stock TextComponent class. You could of course write your own, but there's a learning curve.

thanks, unfortunately I

thanks,

unfortunately I have no time for this.

Maybe it is something that the developers should set by default the Enter-action event when it is pressed alone ...

Kind regards,
Boris

This should be fixed, I

This should be fixed, I agree. Please file an issue in the tracker.

Niels