If I add inputMethodHints: Qt.ImhDigitsOnly
in a TextField{}, the numeric key pad opens. But the sign key +/-
does not change the sign of the number. It only adds a ‘+’ at the current cursor position or ‘-’ with a double click.
Is this a bug, a feature request, or is there something like EnterKey.onClicked that could be used?
Using onTextChanged for changing the sign of the number does not sound optimal.