From 6a0ec79709600c8037261165a4539ef9fe928b56 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 28 Aug 2019 13:18:51 +0700 Subject: add echoMode on passTextField --- pages/PasswordForm.ui.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pages/PasswordForm.ui.qml') diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index da39af9..ac753ee 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -61,7 +61,7 @@ Rectangle { } TextField { - id: emailTextField + id: passTextField y: 501 font.pointSize: 16 anchors.bottom: loginButton.top @@ -74,9 +74,10 @@ Rectangle { anchors.left: parent.left anchors.leftMargin: 16 Layout.maximumHeight: 56 + echoMode: TextInput.Password background: Rectangle { - color: emailTextField.enabled ? "#f4f4f4" : "#353637" + color: passTextField.enabled ? "#f4f4f4" : "#353637" anchors.verticalCenter: parent.verticalCenter implicitHeight: 56 radius: 6 -- cgit v1.2.3