Bug: Can't delete number when cursor placed after separator character
getaaron opened this issue · comments
Aaron Brager commented
Reproduction steps
- Create a
PhoneFormattedTextField
- Set
config.defaultConfiguration = PhoneFormat(defaultPhoneFormat: "(###) ###-####")
- Run the app
- Type
(212) 345-6789
- Place the cursor between
-
and6
- Press backspace ⌫
Expected Behavior
I expected
- the
5
to be deleted - the remaining text to be formatted as
(212) 346-789
- the cursor to remain between
4
and6
Actual behavior
Nothing changed.
Screenshot
Serheo commented
Thanks for the report. try version 1.5