Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ struct CustomerSheetTestPlayground: View {
SettingView(setting: customerKeyTypeBinding)
HStack {
TextField("CustomerId", text: customerIdBinding)
.autocorrectionDisabled()
if playgroundController.settings.customerKeyType == .customerSession {
Spacer()
Button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ struct ExampleLinkControllerView: View {
TextField("Enter country code", text: $country)
.textFieldStyle(RoundedBorderTextFieldStyle())
.autocapitalization(.allCharacters)
.autocorrectionDisabled()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -128,6 +129,7 @@ struct ExampleWalletButtonsContainerView: View {

TextField("Allowed Shipping Countries (comma separated)", text: $allowedShippingCountries)
.textInputAutocapitalization(.never)
.autocorrectionDisabled()
}

Group {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ struct PaymentSheetTestPlayground: View {
if playgroundController.settings.apmsEnabled == .off {
TextField("Supported Payment Methods (comma separated)", text: supportedPaymentMethodsBinding)
.autocapitalization(.none)
.autocorrectionDisabled()
}
}
Group {
Expand Down Expand Up @@ -193,6 +194,7 @@ struct PaymentSheetTestPlayground: View {
clientSettings
TextField("Custom CTA", text: customCTABinding)
TextField("Payment Method Settings ID", text: paymentMethodSettingsBinding)
.autocorrectionDisabled()
}
Divider()
Group {
Expand Down
Loading