Don't allow chaning time only to datetime

This commit is contained in:
Adria Navarro 2024-05-22 17:18:39 +02:00
parent 4a9c1ada0f
commit 2cc329994a
1 changed files with 21 additions and 19 deletions

View File

@ -604,6 +604,7 @@
<DatePicker bind:value={editableColumn.constraints.datetime.latest} />
</div>
</div>
{#if !editableColumn.timeOnly}
{#if datasource?.source !== SourceName.ORACLE && datasource?.source !== SourceName.SQL_SERVER && !editableColumn.dateOnly}
<div>
<div class="row">
@ -625,6 +626,7 @@
</div>
{/if}
<Toggle bind:value={editableColumn.dateOnly} text="Date only" />
{/if}
{:else if editableColumn.type === FieldType.NUMBER && !editableColumn.autocolumn}
<div class="split-label">
<div class="label-length">