Browse Source
Merge pull request #1571 from Budibase/fix/boolean-backend-ui
Fix toggles in tables in backend UI always showing false
pull/1585/head
Andrew Kingston
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
packages/builder/src/components/backend/DataTable/RowFieldControl.svelte
|
|
|
@ -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"} |
|
|
|
|