diff --git a/Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift b/Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift index 5ed9a537c85..e825a8eb23f 100644 --- a/Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift +++ b/Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift @@ -67,6 +67,7 @@ struct CustomerSheetTestPlayground: View { SettingView(setting: customerKeyTypeBinding) HStack { TextField("CustomerId", text: customerIdBinding) + .autocorrectionDisabled() if playgroundController.settings.customerKeyType == .customerSession { Spacer() Button { diff --git a/Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift b/Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift index 3542c3b09cd..5d6ddcd6077 100644 --- a/Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift +++ b/Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift @@ -76,6 +76,7 @@ struct ExampleLinkControllerView: View { TextField("Enter country code", text: $country) .textFieldStyle(RoundedBorderTextFieldStyle()) .autocapitalization(.allCharacters) + .autocorrectionDisabled() } } } diff --git a/Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift b/Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift index 557d943f6d5..4d745b30261 100644 --- a/Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift +++ b/Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift @@ -58,6 +58,7 @@ struct ExampleWalletButtonsContainerView: View { TextField("ShopId", text: $shopId) .textContentType(.emailAddress) .textInputAutocapitalization(.never) + .autocorrectionDisabled() Toggle("Enable inline verification", isOn: $linkInlineVerificationEnabled) .onChange(of: linkInlineVerificationEnabled) { newValue in @@ -128,6 +129,7 @@ struct ExampleWalletButtonsContainerView: View { TextField("Allowed Shipping Countries (comma separated)", text: $allowedShippingCountries) .textInputAutocapitalization(.never) + .autocorrectionDisabled() } Group { diff --git a/Example/PaymentSheet Example/PaymentSheet Example/PaymentMethodOptionsSetupFutureUsagePlaygroundView.swift b/Example/PaymentSheet Example/PaymentSheet Example/PaymentMethodOptionsSetupFutureUsagePlaygroundView.swift index 6c4887e355d..ecbee8c583d 100644 --- a/Example/PaymentSheet Example/PaymentSheet Example/PaymentMethodOptionsSetupFutureUsagePlaygroundView.swift +++ b/Example/PaymentSheet Example/PaymentSheet Example/PaymentMethodOptionsSetupFutureUsagePlaygroundView.swift @@ -38,6 +38,7 @@ struct PaymentMethodOptionsSetupFutureUsagePlaygroundView: View { SettingPickerView(setting: $viewModel.paymentMethodOptionsSetupFutureUsage.affirm, customDisplayLabel: "Affirm") TextField("pm_type:sfu_value (comma separated)", text: additionalPaymentMethodOptionsSetupFutureUsageBinding) .autocapitalization(.none) + .autocorrectionDisabled() } }.padding() diff --git a/Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift b/Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift index 51f40d3ec85..00108e0b06b 100644 --- a/Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift +++ b/Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift @@ -143,6 +143,7 @@ struct PaymentSheetTestPlayground: View { if playgroundController.settings.apmsEnabled == .off { TextField("Supported Payment Methods (comma separated)", text: supportedPaymentMethodsBinding) .autocapitalization(.none) + .autocorrectionDisabled() } } Group { @@ -193,6 +194,7 @@ struct PaymentSheetTestPlayground: View { clientSettings TextField("Custom CTA", text: customCTABinding) TextField("Payment Method Settings ID", text: paymentMethodSettingsBinding) + .autocorrectionDisabled() } Divider() Group {