From 1d8235a1cceb0bf82dadf0668343bae2b8c3e41f Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 8 Aug 2024 16:51:33 +0100 Subject: [PATCH] PR feedback. Ensure fieldValue reacts to schema changes --- packages/builder/src/components/common/LinkedRowSelector.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/common/LinkedRowSelector.svelte b/packages/builder/src/components/common/LinkedRowSelector.svelte index 8a484bab9f..009d943456 100644 --- a/packages/builder/src/components/common/LinkedRowSelector.svelte +++ b/packages/builder/src/components/common/LinkedRowSelector.svelte @@ -15,7 +15,7 @@ let rows = [] let linkedIds = [] - $: fieldValue = getFieldValue(linkedData) + $: fieldValue = getFieldValue(linkedData, schema) $: label = label || capitalise(schema.name) $: linkedTableId = linkedTableId || schema.tableId $: linkedTable = $tables.list.find(table => table._id === linkedTableId)