@@ -22,6 +22,7 @@ Item {
24 property alias model: userList.model
24 property alias model: userList.model
25+ property bool alphanumeric: true
25 property int currentIndex
26 property int currentIndex
26 property bool locked
27 property bool locked
@@ -231,6 +232,8 @@ Item {
231 width: parent.width - anchors.margins * 2
232 width: parent.width - anchors.margins * 2
232 opacity: userList.movingInternally ? 0 : 1
233 opacity: userList.movingInternally ? 0 : 1
235+ inputMethodHints: root.alphanumeric ? Qt.ImhNone : Qt.ImhDigitsOnly
234 property string promptText
237 property string promptText
235 placeholderText: root.wasPrompted ? promptText
238 placeholderText: root.wasPrompted ? promptText
236 : (root.locked ? i18n.tr("Retry")
239 : (root.locked ? i18n.tr("Retry")