Return key does not enable when filling in a password with AutoFill

Originator:rajivshah0618
Number:rdar://46229116 Date Originated:11/24/18
Status:Open Resolved:
Product:iOS Product Version:12.1
Classification:Bug - UI/Usability Reproducible:Always
 
Summary: In a text field that uses enablesReturnKeyAutomatically, if a user pastes a password using the AutoFill feature, the return key does not enable. The user is required to make a change (e.g. delete one character and retype it) for the return key to enable.


Steps to Reproduce:
1. Create a new iOS app
2. Add a text field. In the Attributes inspector, change the following settings:
  a. Change "Content Type" to "Password"
  b. Check off "Auto-enable Return Key"
  c. Check off "Secure Text Entry"
3. Add a password to the Accounts & Passwords section of the iOS device and turn on AutoFill
4. Run the app on the iOS device. In the text field, select a password and use AutoFill to fill it in.

Example project: https://github.com/rajivshah3/AutoFillReturn


Expected Results: After the password is filled in, the return key should be enabled.


Actual Results: The return key is grayed out.


Version/Build: iOS 12.1 (16B91)


Configuration: Xcode 10.1 (10B61)

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!