diff --git a/transactional_licence_form/forms.py b/transactional_licence_form/forms.py index 9a325d865..e2c5ed4f3 100644 --- a/transactional_licence_form/forms.py +++ b/transactional_licence_form/forms.py @@ -29,6 +29,8 @@ class ContactForm(FCLForm): contact_email = fields.FCLEmailField( label="2. Contact Email address", max_length=50, + # NOTE: this is a temporary workaround as there is a bug in crispy-forms-gds where they forgot to apply error styling to email inputs + widget=forms.TextInput(attrs={"type": "email"}), ) # NOTE: please see comment in transactional_lcence_form.js if changing the wording / order of the options here. alternative_contact = fields.FCLChoiceField(