Password keyboard toolbar showing on a non username/password textfield

Originator:s.vijayvikram
Number:rdar://45297784 Date Originated:16/10/2018
Status:Open Resolved:
Product:iOS Product Version:12.x
Classification:Bug Reproducible:Always
 
Summary:
In iOS 12.x add a textfield (let's say textfield1) with textContentType to UITextContentTypeUsername  and another textfield (let's say textfield2)  with textContentType to UITextContentTypePassword on a ViewController.  Add a view having another textfield (let's say textfield3) without any textContentType on ViewController ensuring that position of textfield3 is same as of textfield1. On click of textfield3 it will show keyboard with password toolbar.

Steps to Reproduce:
1. Unzip the attached project TestPassword.zip. Open the TestPassword.xcodeproj in Xcode 10 and run on iPhone device  having iOS 12 .
2. Click on button 'Add SubView with TextField', it will open another view having a button and text field.
3. Click on textfield having placeholder 'Add Random', it will also show keyboard with password toolbar although textContentType for this field is not set anything.

Expected Results:
Keyboard should show without password toolbar.

Actual Results:
Keyboard is showing with password toolbar.

Version/Build:
Xcode 10.x,  iOS 12.x

Configuration:
Before running app, in device go to Settings -> Password & Accounts -> AutoFill Passwords turn on

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!