summaryrefslogtreecommitdiff
path: root/features/LoginEmail.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-19 17:16:39 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-19 17:16:39 +0700
commitb2b733f272c1970e0a92c925c96b7c616fa6e354 (patch)
treeab89d8618de0df5cad5ebeec7f4802c6aae099dc /features/LoginEmail.qml
parent7625e24271ebb98848f92eb69d5706221a2efac3 (diff)
`continueButton` enabled on `emilTextField` text change
Diffstat (limited to 'features/LoginEmail.qml')
-rw-r--r--features/LoginEmail.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/features/LoginEmail.qml b/features/LoginEmail.qml
index 3352f4a..4d783ba 100644
--- a/features/LoginEmail.qml
+++ b/features/LoginEmail.qml
@@ -3,7 +3,15 @@ import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12
-LoginEmailForm {}
+LoginEmailForm {
+ anchors.fill: parent
+ emailTextField.onTextChanged: {
+ if (!emailTextField.text || !continueButton.enabled)
+ continueButton.enabled = !continueButton.enabled
+ }
+}
+
+
/*##^##
Designer {