From c2a9f9f44ac8556f263dd7e0a19a62633ceffc45 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 5 Oct 2020 01:45:59 +0200 Subject: [PATCH] Not focusing recipient name text field on start anymore, just displays 'Please enter recipient name' error message on iOS 14 --- .../BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift index 7cfdb116..54736c93 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift @@ -119,7 +119,7 @@ struct TransferMoneyDialog: View { } Section { - LabelledUIKitTextField(label: "Recipient Name", text: $recipientName, focusOnStart: true, focusNextTextFieldOnReturnKeyPress: true, + LabelledUIKitTextField(label: "Recipient Name", text: $recipientName, focusNextTextFieldOnReturnKeyPress: true, isFocusedChanged: recipientNameIsFocusedChanged, textChanged: enteredRecipientNameChanged) .padding(.bottom, 0)