Fix handling of the jid-multi data form field
This commit is contained in:
parent
51566463bd
commit
12ef4f0e0e
1 changed files with 2 additions and 1 deletions
|
@ -124,6 +124,7 @@ class TextMultiWin(FieldInput, Win):
|
|||
FieldInput.__init__(self, field)
|
||||
Win.__init__(self)
|
||||
self.options = field.getValue()
|
||||
if not isinstance(self.options, list):
|
||||
self.options = self.options.split('\n') if self.options else []
|
||||
self.val_pos = 0
|
||||
self.edition_input = None
|
||||
|
|
Loading…
Reference in a new issue