fwiw this seems to work everywhere although may be better solutions
TextField { id: currentInput echoMode: TextInput.Password inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhSensitiveData | Qt.ImhDigitsOnly
maximumLength: 4 validator: IntValidator{bottom: 0; top: 9999;} onTextChanged: { confirmButton.enabled = text.length == 4 }
}
fwiw this seems to work everywhere although may be better solutions
id: currentInput
}
}