From 1cdd003f623dec1fc2aff80c073c94e82b263a85 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 13 Jul 2018 13:49:10 +0200 Subject: Some progress on creating contacts --- views/people/qml/PersonComposer.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'views/people/qml') diff --git a/views/people/qml/PersonComposer.qml b/views/people/qml/PersonComposer.qml index bd469e47..f56532f8 100644 --- a/views/people/qml/PersonComposer.qml +++ b/views/people/qml/PersonComposer.qml @@ -121,12 +121,16 @@ Flickable { width: Kube.Units.gridUnit * 15 placeholderText: qsTr("First Name") backgroundColor: "white" + text: contactController.firstName + onTextChanged: contactController.firstName = text } Kube.TextField { width: Kube.Units.gridUnit * 15 placeholderText: qsTr("Last Name") backgroundColor: "white" + text: contactController.lastName + onTextChanged: contactController.lastName = text } } @@ -142,6 +146,7 @@ Flickable { width: Kube.Units.gridUnit * 20 text: contactController.jobTitle + onTextChanged: contactController.jobTitle = text placeholderText: qsTr("Job Title") backgroundColor: "white" } @@ -158,6 +163,7 @@ Flickable { placeholderText: qsTr("Company") text: contactController.company + onTextChanged: contactController.company = text backgroundColor: "white" } } @@ -201,18 +207,21 @@ Flickable { Kube.TextField { width: Kube.Units.gridUnit * 20 text: contactController.street + onTextChanged: contactController.stree = text placeholderText: qsTr("Street") backgroundColor: "white" } Kube.TextField { width: Kube.Units.gridUnit * 20 text: contactController.city + onTextChanged: contactController.city = text placeholderText: qsTr("City") backgroundColor: "white" } Kube.TextField { width: Kube.Units.gridUnit * 20 text: contactController.country + onTextChanged: contactController.country = text placeholderText: qsTr("Country") backgroundColor: "white" } -- cgit v1.2.3