From d2987dfb35ad2ba4ed338002e2964f37d4e6ca0f Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 10 Aug 2020 00:47:02 +0200 Subject: [PATCH] Fixed that focusNextTextFieldOnReturnKeyPress got removed --- .../BankingiOSApp/ui/views/AddAccountDialog.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/AddAccountDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/AddAccountDialog.swift index dd647291..8f514dbf 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/AddAccountDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/AddAccountDialog.swift @@ -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)