[Solved] TextField / TextInput do not emit textChanged signal
Does anyone experienced strange behavior of TextField/TextInput on Harmattan platform of not emitting signal textChanged when virtual keyboard is active?
I'm trying to implement incremental search but it doesn't work. I debugged the code and found that textChanged signal is not emitted when virtual keyboard is open (signal is emitted only when I press Enter key). I tried to put timer to regularly check the content of the input field but it's also not working, while keyboard is open text property is not changing until Enter key is pressed. Any workaround exist to this problem? Thank you
P.S. on Emulator code works perfectly and also on Nokia N950 with hardware keyboard in use.
Solved. It was necessary to disable the predictive input for that field:
Applies to Android, too. TextField will not fire onTextChanged unless you provide it with inputMethodHints: Qt.ImhNoPredictiveText.