diff --git a/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js b/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js index 4cf30e26e0..803a68757f 100644 --- a/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js +++ b/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js @@ -68,7 +68,7 @@ class TextSelectServiceImpl extends WidgetService { optionDatas(datas) { if (!datas) return null - return datas.map(item => { + return datas.filter(item => !!item).map(item => { return { id: item, text: item