Skip to content

Commit

Permalink
Merge pull request #5359 from nyaruka/fix-bcast-update
Browse files Browse the repository at this point in the history
Make send_when optional when updating broadcasts
  • Loading branch information
rowanseymour authored Jul 5, 2024
2 parents 6533eef + 1c0d929 commit cc5700f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion temba/msgs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ class ScheduleForm(ScheduleFormMixin):
(SEND_LATER, _("Schedule for later")),
)

send_when = forms.ChoiceField(choices=SEND_CHOICES, widget=forms.RadioSelect(attrs={"widget_only": True}))
send_when = forms.ChoiceField(
choices=SEND_CHOICES, widget=forms.RadioSelect(attrs={"widget_only": True}), required=False
)

def __init__(self, org, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand Down

0 comments on commit cc5700f

Please sign in to comment.