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 b4381b8534..59d6e04591 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 @@ -86,8 +86,12 @@ const InternalRemoteSelect = withDynamicSchemaProps( 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]);