keystone-classic
keystone-classic copied to clipboard
Issue with punycode for email fields

When user trying to insert email with cyrillic symbols we can get weird behaviour with dynamic punycode encoding
Expected behavior
Input w/o changes and error on save

Actual/Current behavior
Cursor position change and xn--

Steps to reproduce the actual/current behavior
- Enable cyrillic keyboard in your system
- Create user with email
[email protected]and save it - Reload page and move cursor to the end of email and type
ю [email protected]will be changed to[email protected]and curser appears at the first symbol of email
Environment
Used latest Keystone demo with new 4.1.0 release
| Software | Version |
|---|---|
| Keystone | 4.1.0 |
| Node.js | 10.15.0 |
| Browser | Chrome 76.0.3809.0 |