Apply the name validator to the account name input field in the QML UI.

master
Johan Ouwerkerk 2019-09-29 19:53:02 +02:00
parent 3bc3a14575
commit 668e912dfe
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ Kirigami.ApplicationWindow {
Controls.TextField {
id: accountName
Kirigami.FormData.label: "Account Name:"
validator: Validators.AccountNameValidator {
id: nameValidator
}
}
ColumnLayout {
Layout.rowSpan: 2