diff --git a/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx b/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx index 986f5d16a5..9b7937a683 100644 --- a/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx +++ b/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx @@ -121,7 +121,7 @@ const InternalRemoteSelect = connect( [targetField?.uiSchema, fieldNames], ); const parseFilter = (rules) => { - if (!rules) { + if (!rules || Object.keys(rules).length === 0) { return undefined; } const type = Object.keys(rules)[0] || '$and';