You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
iOS offers users the ability to auto-complete text entry fields with local suggestions. By enabling the textInputMode via the VGSTextField, and further in the MaskedTextField, users will be able to skip manually entering their CreditCardNumber.
Describe the solution you'd like
enable textInputMode on the VGSTextField.
The text was updated successfully, but these errors were encountered:
Hi @trevor-holliday-instacart ,
I suppose you want to set textField.textContentType = .creditCardNumber to enable card number autofill. From my experience card number autofill on iOS works only in Safari. In native textfields this attribute is more about setting a proper keyboard type and autocorrection for specific content type. From textContentType docs :
When you provide this information about the content you expect users to enter in a text input area, the system can in some cases automatically select an appropriate keyboard and improve keyboard corrections and proactive integration with other text input opportunities.
ah sorry i referenced the incorrect property. However, this will allow the system to suggest input to the user. Here is an example of how we do this with names.
It will not work with card number, but you are right it can work with name field. However setting content type can automatically change keyboard type, which could be different then you aspect when setting VGSConfiguration.keyboardType.
We will validate this feature internally and check possible issues, e.g.: you want to collect card holder name which always should be in latin characters, but on user's device Cyrillic or Chinese keyboard is default, and iOS recommends him different keyboard or suggest name in other language.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: