diff --git a/packages/core/client/src/collection-manager/interfaces/markdown.ts b/packages/core/client/src/collection-manager/interfaces/markdown.ts index b44704101b..2985dc5ce0 100644 --- a/packages/core/client/src/collection-manager/interfaces/markdown.ts +++ b/packages/core/client/src/collection-manager/interfaces/markdown.ts @@ -79,6 +79,6 @@ export class MarkdownFieldInterface extends CollectionFieldInterface { }; } filterable = { - operators: operators.string, + operators: operators.bigField, }; } diff --git a/packages/core/client/src/collection-manager/interfaces/properties/operators.ts b/packages/core/client/src/collection-manager/interfaces/properties/operators.ts index 2c0aafc8e7..ed58efc79d 100644 --- a/packages/core/client/src/collection-manager/interfaces/properties/operators.ts +++ b/packages/core/client/src/collection-manager/interfaces/properties/operators.ts @@ -184,7 +184,7 @@ export const collection = [ { label: '{{t("is not empty")}}', value: '$notEmpty', noValue: true }, ]; -export const richText = [ +export const bigField = [ { label: '{{t("contains")}}', value: '$includes', @@ -218,6 +218,22 @@ export const richText = [ 'x-component': 'Input', }, }, - { label: '{{t("is empty")}}', value: '$empty', noValue: true }, - { label: '{{t("is not empty")}}', value: '$notEmpty', noValue: true }, + { + label: '{{t("is empty")}}', + value: '$empty', + noValue: true, + schema: { + type: 'string', + 'x-component': 'Input', + }, + }, + { + label: '{{t("is not empty")}}', + value: '$notEmpty', + noValue: true, + schema: { + type: 'string', + 'x-component': 'Input', + }, + }, ]; diff --git a/packages/core/client/src/collection-manager/interfaces/richText.ts b/packages/core/client/src/collection-manager/interfaces/richText.ts index 0ab89b2105..51e138c92b 100644 --- a/packages/core/client/src/collection-manager/interfaces/richText.ts +++ b/packages/core/client/src/collection-manager/interfaces/richText.ts @@ -79,6 +79,6 @@ export class RichTextFieldInterface extends CollectionFieldInterface { }; }; filterable = { - operators: operators.richText, + operators: operators.bigField, }; } diff --git a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx index 48c3d0a8a4..8789109fc5 100644 --- a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx +++ b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx @@ -109,7 +109,7 @@ export class MarkdownVditorFieldInterface extends CollectionFieldInterface { } } filterable = { - operators: operators.number, + operators: operators.bigField, }; titleUsable = true; }