import QtQuick 2.12 import KelakonUser 0.1 import "pages" PasswordForm { backButton { icon.source: "larva/components/icons/arrow-back-24px.svg" onClicked: pageView.pop() } passImage.source: "larva/components/icons/lock-24px.svg" emailAddressLabel.text: User.name passTextField.onTextChanged: { if (!passTextField.text || !createPassButton.enabled) createPassButton.enabled = !createPassButton.enabled } createPassButton.onClicked: { User.password = passTextField.text pageView.push("ConfirmPassword.qml") } }