Merge pull request #13512 from wayne-chen/passwordFieldLoginFix-case-14261

Hitting Enter Key in Password Field To Login
This commit is contained in:
Dante Ruiz 2018-07-02 12:55:44 -07:00 committed by GitHub
commit e2757e80ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -135,6 +135,8 @@ Item {
placeholderText: qsTr("Password") placeholderText: qsTr("Password")
echoMode: TextInput.Password echoMode: TextInput.Password
Keys.onReturnPressed: linkAccountBody.login()
} }
} }

View file

@ -177,6 +177,8 @@ Item {
root.text = ""; root.text = "";
root.isPassword = true; root.isPassword = true;
} }
Keys.onReturnPressed: linkAccountBody.login()
} }
CheckBox { CheckBox {

View file

@ -164,6 +164,8 @@ Item {
root.text = ""; root.text = "";
root.isPassword = focus root.isPassword = focus
} }
Keys.onReturnPressed: signupBody.signup()
} }
Row { Row {