Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email field validation fails when using iOS keyboard shortcut #427

Closed
davemitchell opened this issue Apr 12, 2017 · 1 comment
Closed

Email field validation fails when using iOS keyboard shortcut #427

davemitchell opened this issue Apr 12, 2017 · 1 comment
Labels
bug This points to a verified bug in the code S2: Inconvenient

Comments

@davemitchell
Copy link

Using Lock 2.1.0, the email field will not correctly validate an email address that was entered using a keyboard shortcut.

Steps to repro:

  • Create an iOS keyboard shortcut:
    • Settings => General => Keyboards => Text Replacement
    • Tap +
    • Phrase = [email protected]
    • Shortcut = f!
    • Save
  • Run the app, navigate to the Lock screen
  • In the email field, type 'f!' followed by the keyboard "Next" button

The app will continue to show "Must be a valid email address" and refuse to sign in, even though a valid email address has been entered.

img_0076

img_0077

@cocojoe
Copy link
Member

cocojoe commented Apr 18, 2017

Thanks for the steps, can confirm. Will add to list.

@cocojoe cocojoe added the bug This points to a verified bug in the code label Apr 18, 2017
cocojoe added a commit that referenced this issue Sep 8, 2017
cocojoe added a commit that referenced this issue Sep 8, 2017
cocojoe added a commit that referenced this issue Sep 11, 2017
* Fix text replacement on return
Fix #427

* Added InputField delegate tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code S2: Inconvenient
Projects
None yet
Development

No branches or pull requests

2 participants