1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Merge pull request #1571 from Budibase/fix/boolean-backend-ui

Fix toggles in tables in backend UI always showing false
This commit is contained in:
Andrew Kingston 2021-05-27 08:12:07 +01:00 committed by GitHub
commit 21f96a200c

View file

@ -25,7 +25,7 @@
{:else if type === "attachment"}
<Dropzone {label} bind:value />
{:else if type === "boolean"}
<Toggle text={label} bind:checked={value} data-cy="{meta.name}-input" />
<Toggle text={label} bind:value data-cy="{meta.name}-input" />
{:else if type === "link"}
<LinkedRowSelector bind:linkedRows={value} schema={meta} />
{:else if type === "longform"}