Merge pull request #12197 from Budibase/fix/show-formblock-description-in-view-mode
Make the formblock description field visible in view mode.
This commit is contained in:
commit
c79c6b1ff0
|
@ -220,15 +220,11 @@
|
||||||
</BlockComponent>
|
</BlockComponent>
|
||||||
{/if}
|
{/if}
|
||||||
</BlockComponent>
|
</BlockComponent>
|
||||||
{#if description}
|
|
||||||
<BlockComponent
|
|
||||||
type="text"
|
|
||||||
props={{ text: description }}
|
|
||||||
order={1}
|
|
||||||
/>
|
|
||||||
{/if}
|
|
||||||
</BlockComponent>
|
</BlockComponent>
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if description}
|
||||||
|
<BlockComponent type="text" props={{ text: description }} order={1} />
|
||||||
|
{/if}
|
||||||
{#key fields}
|
{#key fields}
|
||||||
<BlockComponent type="fieldgroup" props={{ labelPosition }} order={1}>
|
<BlockComponent type="fieldgroup" props={{ labelPosition }} order={1}>
|
||||||
{#each fields as field, idx}
|
{#each fields as field, idx}
|
||||||
|
|
Loading…
Reference in New Issue