How can I force my keyboard layout to display the "Next" button in QML ? ( Like in a standard HTML form ) I don't want to display a "OK" button ( which means that you're about to validate the form .. )
You can use the EnterKey
attached property introduced in Qt 5.6:
import QtQuick 2.6
TextInput {
EnterKey.type: Qt.EnterKeyNext
}
TextInput {
id: txtInput
Component.onCompleted: {
EnterKeyAction.actionId = EnterKeyAction.Next
EnterKeyAction.label = "Next"
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With