Textfield Replacement hangs up the app


When you select all text and press backspace or some letter to replace the text, the application hangs up in an infinite loop in the replaceText method of TextField.

It works with OpenFL 4.6.0 and Lime 3.6.2.
From OpenFL 4.7.0 and Lime 3.7.0 didn’t work.

I have opened an issue here https://github.com/openfl/openfl/issues/1498

Thanks in advance!