1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

Minor update to fix padding for the json field label

This commit is contained in:
Dean 2022-10-17 12:43:23 +01:00
parent 449ddf2a6b
commit 20feb35854

View file

@ -58,6 +58,7 @@
{:else if schema.type === "longform"}
<TextArea label={field} bind:value={value[field]} />
{:else if schema.type === "json"}
<span>
<Label>{field}</Label>
<Editor
editorHeight="150"
@ -69,6 +70,7 @@
}}
value={value[field]}
/>
</span>
{:else if schema.type === "link"}
<LinkedRowSelector bind:linkedRows={value[field]} {schema} />
{:else if schema.type === "string" || schema.type === "number"}