Expose date-only setting on date fields

This commit is contained in:
Andrew Kingston 2023-09-25 19:30:34 +01:00
parent 5863d069ca
commit 6b152349bd
1 changed files with 2 additions and 1 deletions

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">