7

My view has just 2 text fields, for username and password. Content type is specified accordingly. I want to use phone numbers as usernames, so I chose "Number Pad" as keyboard type for username field.

The issue is that when I run this on iOS 12, when first selecting username field, the autofill control does not appear above keyboard. If then select password field, it appears. Then I can select username field again and autofill control remains and is available this time.

If I change username keyboard type to default, the issue goes away.

In iOS 11 this issue does not exist.

Anyone knows why it is so?

jesse
  • 650
  • 5
  • 19
  • @arash Yes, `Username` for first field, and `Password` for second one. – jesse Jan 12 '19 at 15:47
  • I would file a bug report at bugreport.apple.com. – Jordan H Jan 13 '19 at 05:13
  • I have the exact same issue. – ethanhuang13 Jun 20 '19 at 04:00
  • This issue is still a thing two years later on iOS 14: When choosing [`.phonePad`](https://developer.apple.com/documentation/uikit/uikeyboardtype/phonepad) as keyboard type for the [`.username`](https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_a_text_input_view/) text field, the autofill toolbar will not be shown. [`.namePhonePad`](https://developer.apple.com/documentation/uikit/uikeyboardtype/namephonepad) works, but is not a viable option if logins are phone numbers. – Jonas Vogel May 03 '21 at 14:42
  • 1
    Almost four years later, and still an issue... – Tommy Sep 01 '22 at 13:58
  • Same issue on iOS 16.0.2. I filed a bug report. – geohei Oct 04 '22 at 17:00

0 Answers0