summaryrefslogtreecommitdiff
path: root/CheckoutFlickable.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-06 13:14:06 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-06 13:14:06 +0800
commitb25abfde5443ae650df3a462377048b234364703 (patch)
tree7ddb01a8ff919c701116b710e2a9f4f702522927 /CheckoutFlickable.ui.qml
parent4593239cfbd2a5279d038447adf9ae628ffe4f62 (diff)
Use a custom key for combo box model
Diffstat (limited to 'CheckoutFlickable.ui.qml')
-rw-r--r--CheckoutFlickable.ui.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml
index 66d6099..902a6a4 100644
--- a/CheckoutFlickable.ui.qml
+++ b/CheckoutFlickable.ui.qml
@@ -261,21 +261,21 @@ Flickable {
font.pixelSize: 15
model: ListModel {
ListElement {
- text: "Please choose one"
+ label: "Please choose one"
}
ListElement {
- text: "Bank of America"
+ label: "Bank of America"
}
ListElement {
- text: "Bank of India"
+ label: "Bank of India"
}
ListElement {
- text: "Bank of London"
+ label: "Bank of London"
}
}
delegate: ItemDelegate {
contentItem: Text {
- text: modelData
+ text: label
font.pixelSize: 14
}
}