Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1876)

Unified Diff: ios/chrome/browser/ui/payments/payment_request_editor_field.mm

Issue 2956433002: [Payment Request] keyboardType, autoCapitalizationType, etc for text fields (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/payments/payment_request_editor_field.mm
diff --git a/ios/chrome/browser/ui/payments/payment_request_editor_field.mm b/ios/chrome/browser/ui/payments/payment_request_editor_field.mm
index e861027d57bcc9fecc7ad527562ee405ce2ddc37..8ecf7e25cbed4923417a2888eed59418e1f38c58 100644
--- a/ios/chrome/browser/ui/payments/payment_request_editor_field.mm
+++ b/ios/chrome/browser/ui/payments/payment_request_editor_field.mm
@@ -17,6 +17,9 @@
@synthesize displayValue = _displayValue;
@synthesize required = _required;
@synthesize enabled = _enabled;
+@synthesize returnKeyType = _returnKeyType;
+@synthesize keyboardType = _keyboardType;
+@synthesize autoCapitalizationType = _autoCapitalizationType;
@synthesize item = _item;
@synthesize sectionIdentifier = _sectionIdentifier;
@@ -33,6 +36,9 @@
_value = value;
_required = required;
_enabled = YES;
+ _returnKeyType = UIReturnKeyNext;
+ _keyboardType = UIKeyboardTypeDefault;
+ _autoCapitalizationType = UITextAutocapitalizationTypeWords;
}
return self;
}

Powered by Google App Engine
This is Rietveld 408576698