AddOnsForm: Already validate min_count/max_count

This commit is contained in:
Raphael Michel
2019-07-12 12:27:17 +02:00
parent 77046136f2
commit f8bb139651
2 changed files with 41 additions and 3 deletions

View File

@@ -239,7 +239,7 @@ class AddOnsStep(CartMixin, AsyncAction, TemplateFlowStep):
'form': AddOnsForm(
event=self.request.event,
prefix='{}_{}'.format(cartpos.pk, iao.addon_category.pk),
category=iao.addon_category,
iao=iao,
price_included=iao.price_included,
initial=current_addon_products,
data=(self.request.POST if self.request.method == 'POST' else None),