Input type email value in Chrome with accented characters wrong

后端 未结 3 1577
孤街浪徒
孤街浪徒 2021-01-17 16:51

When entering accented characters into an input type email in Chrome, it changes the value to something strange.

When entering the email: test@Bücher.ch th

3条回答
  •  独厮守ぢ
    2021-01-17 17:31

    Fiddle

    For this problem it is because of input's email type, after '@' sign browser gives this error. I think they believe email adresses always must be in English.

    Anyway Use text type then provide email regex

提交回复
热议问题