mirror of
https://github.com/pretix/pretix.git
synced 2026-09-14 16:24:43 +00:00
Add label-overrides to contact_form_fields_overrides and question_form_fields_overrides (Z#23244154)
This commit is contained in:
@@ -135,6 +135,8 @@ class BaseQuestionsViewMixin:
|
||||
question_field.initial = getattr(question_field, 'initial', None) or src['initial']
|
||||
if 'validators' in src:
|
||||
question_field.validators += src['validators']
|
||||
if 'label' in src:
|
||||
question_field.label = src['label']
|
||||
|
||||
if len(form.fields) > 0:
|
||||
formlist.append(form)
|
||||
|
||||
Reference in New Issue
Block a user