textContentType auto completion adds extra whitespace
Originator: | mickey | ||
Number: | rdar://46387762 | Date Originated: | 11/30/2018 |
Status: | Resolved: | ||
Product: | UIKit | Product Version: | iOS 12 |
Classification: | Reproducible: | YES |
UITextFields with textContentType set (for example, .emailAddress) allow the user to select a value for auto completion. The auto completed text value always ends with a space character, regardless of the UISmartInsertDeleteType setting. Steps to Reproduce: 1. Create a UITextField, set textContentType = .emailAddress and smartInsertDeleteType = .no. 2. Install and open app. 3. Tap text field. 4. Tap email address, in order to auto-complete the value. 5. Observe that the auto-completed email address has an extra whitespace at the end. I would not expect the extra whitespace. Version/Build: iOS 12 SDK, iOS 12.1 at runtime
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!