From 2252e68d37349836fba468c7c6f36bd73c8be9a8 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Thu, 13 Aug 2020 10:53:28 +0100 Subject: [PATCH] Remove duplicate spellcheck false for email fields --- app/main/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/forms.py b/app/main/forms.py index 259874135..befcd4243 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -146,7 +146,7 @@ def email_address(label='Email address', gov_user=True, required=True): if required: validators.append(DataRequired(message='Cannot be empty')) - return GovukEmailField(label, validators, render_kw={'spellcheck': 'false'}) + return GovukEmailField(label, validators) class UKMobileNumber(TelField):