Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uitextfield clears when delete is pressed

Tags:

ios

uikit

I am having an issue where pressing the delete key on the keyboard clears the entire UITextField as if I'd pressed the clear button. It only happens the very first time you press the delete key on that screen. I've checked that 'clear when editing begins' is not checked, and this is NOT a secure entry textfield.

like image 965
cable_pair Avatar asked Jan 09 '13 17:01

cable_pair


1 Answers

it looks like it's the behavior if a UITextField's keyboard type is UIKeyboardTypeEmailAddress. When I switch it to another type, the backspace does not have that behavior. Not sure what to do about it though.

like image 198
mitrenegade Avatar answered Oct 28 '22 03:10

mitrenegade