mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fixed problems with the I18nTextField widget
This commit is contained in:
@@ -83,6 +83,8 @@ class I18nWidget(forms.MultiWidget):
|
||||
|
||||
def decompress(self, value):
|
||||
data = []
|
||||
if not isinstance(value, LazyI18nString):
|
||||
value = LazyI18nString(value)
|
||||
for lng in self.langcodes:
|
||||
data.append(
|
||||
value.data[lng]
|
||||
|
||||
Reference in New Issue
Block a user