From 946489866af81ca4da96fbdf3fb39e3aebcfd251 Mon Sep 17 00:00:00 2001 From: York Schickl Date: Tue, 27 Aug 2024 14:55:24 +0200 Subject: [PATCH] fix author field --- form_designer/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/form_designer/models.py b/form_designer/models.py index 454e23a..c48ea38 100644 --- a/form_designer/models.py +++ b/form_designer/models.py @@ -86,13 +86,13 @@ class Form(models.Model): ), ( "author_email_field", - forms.EmailField( + forms.CharField( label=capfirst(_("author's email field")), help_text=_( "The author of the submission will be added to the Cc: if this is set to an existing form field below." ), required=False, - widget=widgets.AdminEmailInputWidget, + widget=widgets.AdminTextInputWidget, ), ), ],