Skip to content

Commit 43f52fd

Browse files
authored
Merge pull request #335 from efekancakmak/iso-date-column-copyvalue-fix
Iso date column copyvalue fix
2 parents 7455275 + 30c9048 commit 43f52fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/columns/isoDateColumn.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ IsoDateComponent.displayName = 'IsoDateComponent'
4848
export const isoDateColumn: Partial<Column<string | null, any, string>> = {
4949
component: IsoDateComponent as CellComponent<string | null, any>,
5050
deleteValue: () => null,
51+
copyValue: ({ rowData }) => rowData,
5152
// Because the Date constructor works using iso format, we can use it to parse ISO string back to a Date object
5253
pasteValue: ({ value }) => {
5354
const date = new Date(value.replace(/\.\s?|\//g, '-'))

0 commit comments

Comments
 (0)