Skip to content

Commit

Permalink
Merge pull request Budibase#11882 from Budibase/date-only-type
Browse files Browse the repository at this point in the history
Expose date-only setting on date fields
  • Loading branch information
aptkingston authored Sep 26, 2023
2 parents cdfea67 + 1edc530 commit 5ab963b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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">
Expand Down

0 comments on commit 5ab963b

Please sign in to comment.