forked from CGM_Public/pretix_original
Quota form: Change item selection field per context (#3839)
* Change item checkbox select to multiselect widget * Make item selection widget dependent on count * Make item selection widget dependent on variable * Adjust widget choices * Fix widget choices * Fix item variation key errors * Simplify code * Fix classname * Improve argument name * Fix widget name
This commit is contained in:
@@ -295,6 +295,7 @@ class SubEventEditorMixin(MetaDataEditorMixin):
|
||||
]
|
||||
extra = 0
|
||||
|
||||
kwargs['searchable_selection'] = True
|
||||
formsetclass = inlineformset_factory(
|
||||
SubEvent, Quota,
|
||||
form=QuotaForm, formset=QuotaFormSet, min_num=1, validate_min=True,
|
||||
|
||||
Reference in New Issue
Block a user