Cyril Kym
07/19/2022, 11:05 AMKey.Enter
by using the onPreviewKeyEvent
Modifier and I do not want the BasicTextField
to unfocus when Enter is pressed. I was searching for a solution like preventDefault in JS but couldn't find anything so far.james
07/19/2022, 11:19 AMonKeyEvent
and it works as expected.. I just check the key is Enter
, and if it is I run my own function then return true