1
0
Fork 0
mirror of synced 2024-07-09 08:16:34 +12:00

Merge pull request #11882 from Budibase/date-only-type

Expose date-only setting on date fields
This commit is contained in:
Andrew Kingston 2023-09-26 08:37:54 +01:00 committed by GitHub
commit 855c28b186

View file

@ -500,7 +500,7 @@
<DatePicker bind:value={editableColumn.constraints.datetime.latest} />
</div>
</div>
{#if datasource?.source !== "ORACLE" && datasource?.source !== "SQL_SERVER"}
{#if datasource?.source !== "ORACLE" && datasource?.source !== "SQL_SERVER" && !editableColumn.dateOnly}
<div>
<div class="row">
<Label>Time zones</Label>
@ -520,6 +520,7 @@
/>
</div>
{/if}
<Toggle bind:value={editableColumn.dateOnly} text="Date only" />
{:else if editableColumn.type === "number" && !editableColumn.autocolumn}
<div class="split-label">
<div class="label-length">