Fixed first start configuration load and add city model in add customer

This commit is contained in:
2024-12-07 16:43:55 +01:00
parent 82cbfb8daf
commit 4dfe986111
5 changed files with 56 additions and 16 deletions

View File

@@ -95,6 +95,7 @@ ColumnLayout
popup.height: 300
popup.y: postcode.y + 5 - (postcode.height * 2)
currentIndex: -1
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
}
Label
@@ -110,7 +111,12 @@ ColumnLayout
editable: true
onEditTextChanged: isEmptyField()
onCurrentTextChanged: isEmptyField()
model: ["", "MarcosDorf", "OschkarsLand"]
model: am
textRole: "city"
popup.height: 300
popup.y: postcode.y + 5 - (postcode.height * 2)
currentIndex: -1
onCurrentIndexChanged: postcode.currentIndex = city.currentIndex
}
Label