mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 12:08:25 -04:00
Remove duplicate spellcheck false for email fields
This commit is contained in:
@@ -146,7 +146,7 @@ def email_address(label='Email address', gov_user=True, required=True):
|
|||||||
if required:
|
if required:
|
||||||
validators.append(DataRequired(message='Cannot be empty'))
|
validators.append(DataRequired(message='Cannot be empty'))
|
||||||
|
|
||||||
return GovukEmailField(label, validators, render_kw={'spellcheck': 'false'})
|
return GovukEmailField(label, validators)
|
||||||
|
|
||||||
|
|
||||||
class UKMobileNumber(TelField):
|
class UKMobileNumber(TelField):
|
||||||
|
|||||||
Reference in New Issue
Block a user