diff --git a/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx b/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx index 78d47e64909b6413c930952e676c96baaeff8e4d..946f99b492699e21c368cfc72121b66f9dd406de 100644 --- a/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx +++ b/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx @@ -137,7 +137,11 @@ class TextSelect extends React.Component { onChange = (obj) => { const { onChange } = this.props; if (typeof onChange === 'function') { - onChange(obj); + if (!obj || (!obj.label && !obj.value)) { + onChange(undefined); + } else { + onChange(obj); + } } };