diff --git a/src/extensions/filter-control/bootstrap-table-filter-control.js b/src/extensions/filter-control/bootstrap-table-filter-control.js index 45ae29b9f5..d596a53a0d 100644 --- a/src/extensions/filter-control/bootstrap-table-filter-control.js +++ b/src/extensions/filter-control/bootstrap-table-filter-control.js @@ -239,7 +239,7 @@ const UtilsFilterControl = { formattedValue = Utils.calculateObjectValue(that.header, column.filterDataCollector, [fieldValue, data[i], formattedValue], formattedValue) } - if (typeof formattedValue === 'object') { + if (typeof formattedValue === 'object' && formattedValue !== null) { formattedValue.forEach((value) => { UtilsFilterControl.addOptionToSelectControl(selectControl, value, value, column.filterDefault) })