Don't use DrawerBindableSlot in test modal (#11959)

This commit is contained in:
melohagan 2023-10-03 10:19:19 +01:00 committed by GitHub
parent c7c81c348b
commit b291633c79
1 changed files with 26 additions and 15 deletions

View File

@ -110,6 +110,16 @@
<div class="schema-fields"> <div class="schema-fields">
{#each schemaFields as [field, schema]} {#each schemaFields as [field, schema]}
{#if !schema.autocolumn && schema.type !== "attachment"} {#if !schema.autocolumn && schema.type !== "attachment"}
{#if isTestModal}
<RowSelectorTypes
{isTestModal}
{field}
{schema}
bindings={parsedBindings}
{value}
{onChange}
/>
{:else}
<DrawerBindableSlot <DrawerBindableSlot
fillWidth fillWidth
title={value.title} title={value.title}
@ -134,6 +144,7 @@
/> />
</DrawerBindableSlot> </DrawerBindableSlot>
{/if} {/if}
{/if}
{#if isUpdateRow && schema.type === "link"} {#if isUpdateRow && schema.type === "link"}
<div class="checkbox-field"> <div class="checkbox-field">
<Checkbox <Checkbox