diff --git a/packages/client/src/components/app/blocks/CardsBlock.svelte b/packages/client/src/components/app/blocks/CardsBlock.svelte index ec631ede36..3a136b5b20 100644 --- a/packages/client/src/components/app/blocks/CardsBlock.svelte +++ b/packages/client/src/components/app/blocks/CardsBlock.svelte @@ -73,7 +73,7 @@ enrichedFilter.push({ field: column.name, operator: column.type === "string" ? "string" : "equal", - type: "string", + type: column.type === "string" ? "string" : "number", valueType: "Binding", value: `{{ [${formId}].[${column.name}] }}`, }) diff --git a/packages/client/src/components/app/blocks/TableBlock.svelte b/packages/client/src/components/app/blocks/TableBlock.svelte index 55937d1b7f..1f561f9b5d 100644 --- a/packages/client/src/components/app/blocks/TableBlock.svelte +++ b/packages/client/src/components/app/blocks/TableBlock.svelte @@ -61,7 +61,7 @@ enrichedFilter.push({ field: column.name, operator: column.type === "string" ? "string" : "equal", - type: "string", + type: column.type === "string" ? "string" : "number", valueType: "Binding", value: `{{ ${safe(formId)}.${safe(column.name)} }}`, })