diff options
Diffstat (limited to 'Login.qml')
-rw-r--r-- | Login.qml | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,4 +1,5 @@ import QtQuick 2.12 +import KelakonUser 0.1 import "larva/features" LoginForm { @@ -8,5 +9,15 @@ LoginForm { else drawer.open() - contentView.initialItem: LoginEmail{} + contentView.initialItem: LoginEmailForm { + emailTextField.onTextChanged: { + if (!emailTextField.text || !continueButton.enabled) + continueButton.enabled = !continueButton.enabled + } + + continueButton.onClicked: { + User.name = emailTextField.text + contentView.push("LoginPassword.qml") + } + } } |