I am trying to prevent any key from changing text in Flex TextArea. I do not want the editable property to be false, because I want the carriage to be visible for the current position indicator, so that the user knows where the search that he initiates starts.
I added event handlers for change and textInput, as well as keyUp and keyDown, which execute "event.preventDefault" as well as "event.stopImmediatePropagation". This works fine for most keys except backspace and delete.
Is there any way to prevent this?
source
share