Fix critical issue when creating comboboxes with the multiple selection untouched
(cherry picked from commit e88f88d97c
)
This commit is contained in:
parent
081995e243
commit
535c250bae
|
@ -79,7 +79,7 @@ public class WordListData extends ComboBoxData<WordListData> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Object multiList1 = ((Map<String, Object>) data).get("multiList");
|
Object multiList1 = ((Map<String, Object>) data).get("multiList");
|
||||||
this.multiList = multiList1 instanceof String ? Boolean.parseBoolean((String) multiList1) : (Boolean) multiList1;
|
this.multiList = multiList1 != null && (multiList1 instanceof String ? Boolean.parseBoolean((String) multiList1) : (Boolean) multiList1);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue