Fix date cells in sheets

This commit is contained in:
Andrew Kingston 2023-02-27 15:41:35 +00:00
parent b1f2fe326a
commit 30e1ecd67f
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@
sticky={column.idx === 0} sticky={column.idx === 0}
reorderSource={$reorder.columnIdx === column.idx} reorderSource={$reorder.columnIdx === column.idx}
reorderTarget={$reorder.swapColumnIdx === column.idx} reorderTarget={$reorder.swapColumnIdx === column.idx}
on:mousedown={column.idx === 123 on:mousedown={column.idx === 0
? null ? null
: e => reorder.actions.startReordering(column.idx, e)} : e => reorder.actions.startReordering(column.idx, e)}
width={column.width} width={column.width}

View File

@ -37,7 +37,7 @@
<CoreDatePicker <CoreDatePicker
{value} {value}
on:change={e => onChange(e.detail)} on:change={e => onChange(e.detail)}
appendTo={document.getElementById("flatpickr-root")} appendTo={document.documentElement}
enableTime={!dateOnly} enableTime={!dateOnly}
{timeOnly} {timeOnly}
time24hr time24hr