From 37d2ebaad0066da978b2855bd00acc4c9198b624 Mon Sep 17 00:00:00 2001 From: York Schickl Date: Tue, 27 Aug 2024 13:08:15 +0000 Subject: [PATCH] fix author field (#38) --- 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, ), ), ],