Fixed that focusNextTextFieldOnReturnKeyPress got removed

This commit is contained in:
dankito 2020-08-10 00:47:02 +02:00
parent f05a551bf1
commit d2987dfb35
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ struct AddAccountDialog: View {
}
Section {
LabelledUIKitTextField(label: "Online banking login name", text: $customerId, placeholder: "Enter Online banking login name", actionOnReturnKeyPress: handleReturnKeyPress)
LabelledUIKitTextField(label: "Online banking login name", text: $customerId, placeholder: "Enter Online banking login name",
focusNextTextFieldOnReturnKeyPress: true, actionOnReturnKeyPress: handleReturnKeyPress)
LabelledUIKitTextField(label: "Online banking login password", text: $password, placeholder: "Enter Online banking login password",
isPasswordField: true, actionOnReturnKeyPress: handleReturnKeyPress)