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 86f521c1886..8597efcd333 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 @@ -82,8 +82,12 @@ const InternalRemoteSelect = connect( const operator = useMemo(() => { if (targetField?.interface) { - const initialOperator = getInterface(targetField.interface)?.filterable?.operators[0].value || '$includes'; - return initialOperator !== '$eq' ? initialOperator : '$includes'; + const targetInterface = getInterface(targetField.interface); + const initialOperator = targetInterface?.filterable?.operators[0].value || '$includes'; + if (targetField.type === 'string') { + return '$includes'; + } + return initialOperator; } return '$includes'; }, [targetField]);