Apply the name validator to the account name input field in the QML UI.
parent
3bc3a14575
commit
668e912dfe
|
@ -167,6 +167,9 @@ Kirigami.ApplicationWindow {
|
||||||
Controls.TextField {
|
Controls.TextField {
|
||||||
id: accountName
|
id: accountName
|
||||||
Kirigami.FormData.label: "Account Name:"
|
Kirigami.FormData.label: "Account Name:"
|
||||||
|
validator: Validators.AccountNameValidator {
|
||||||
|
id: nameValidator
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.rowSpan: 2
|
Layout.rowSpan: 2
|
||||||
|
|
Loading…
Reference in New Issue