diff --git a/src/pretix/base/forms/questions.py b/src/pretix/base/forms/questions.py index 0227d1247d..bf5c758f88 100644 --- a/src/pretix/base/forms/questions.py +++ b/src/pretix/base/forms/questions.py @@ -350,6 +350,7 @@ class WrappedPhonePrefixSelect(Select): return super().render(name, value or self.initial, *args, **kwargs) def get_context(self, name, value, attrs): + # self.choices is lazy evaluated, needs to be realized to be modifiable choices = list(self.choices) if value and choices[1][0] != value: matching_choices = len([1 for p, c in choices if p == value])