Skip to content

Commit

Permalink
Fixed invalid error message saying text field was required
Browse files Browse the repository at this point in the history
  • Loading branch information
fallen committed Oct 14, 2023
1 parent 7e04ac7 commit cab2284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytition/petition/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class PetitionCreationStep3(forms.Form):

class ContentFormGeneric(forms.Form):
### Content of a Petition ###
text = forms.CharField(widget=TinyMCE)
text = forms.CharField(widget=TinyMCE, required=False)
target = forms.IntegerField(required=False)
side_text = forms.CharField(widget=TinyMCE, required=False)
footer_text = forms.CharField(widget=TinyMCE, required=False)
Expand Down

0 comments on commit cab2284

Please sign in to comment.