Home Allow form to accept special character for email

# Allow form to accept special character for email

ayoubben
1#
ayoubben Published in 2018-02-06 09:52:23Z
 I want to allow special characters in my form for email. In my form I have : = f.input :email  When I enter example@geschäft.com, I got something like example@xn--geschft-9wa.com in my controller when i inspect params.require(:contact).permit(contact_attributes). Resolved: I resolved it by disabling html5 on my field: = f.input :email, html5: false 
ayoubben
2#
 Resolved: I resolved it by disabling html5 on my field: = f.input :email, html5: false