Fixed first start configuration load and add city model in add customer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user