array field: guard null item
This commit is contained in:
@@ -120,7 +120,7 @@ class ArrayFieldView extends BaseFieldView {
|
||||
const itemHtmlList = [];
|
||||
|
||||
(this.selected || []).forEach(value => {
|
||||
itemHtmlList.push(this.getItemHtml(value));
|
||||
itemHtmlList.push(this.getItemHtml(value || ''));
|
||||
});
|
||||
|
||||
// noinspection JSValidateTypes
|
||||
|
||||
Reference in New Issue
Block a user