diff --git a/packages/web/src/formview/FormViewFilterColumn.svelte b/packages/web/src/formview/FormViewFilterColumn.svelte index a51c4974..99464443 100644 --- a/packages/web/src/formview/FormViewFilterColumn.svelte +++ b/packages/web/src/formview/FormViewFilterColumn.svelte @@ -26,7 +26,7 @@ if (display?.filterBehaviourOverride) { return display?.filterBehaviourOverride; } - const fromDriver = display?.driver?.getFilterBehaviour(column.dataType, standardFilterBehaviours); + const fromDriver = display?.driver?.getFilterBehaviour(column?.dataType, standardFilterBehaviours); if (fromDriver) return fromDriver; if (isDynamicStructure) return mongoFilterBehaviour; @@ -34,10 +34,14 @@ } -{#if column} +{#if column || isDynamicStructure}
- + {#if column} + + {:else} + {uniqueName} + {/if}
{/if}