fixed copy (NULL) value

This commit is contained in:
SPRINX0\prochazka
2025-04-28 16:31:10 +02:00
parent 0f69ba46c5
commit 5f03340454
3 changed files with 12 additions and 4 deletions

View File

@@ -150,7 +150,13 @@ function stringifyJsonToGrid(value): ReturnType<typeof stringifyCellValue> {
export function stringifyCellValue(
value,
intent: 'gridCellIntent' | 'inlineEditorIntent' | 'multilineEditorIntent' | 'stringConversionIntent' | 'exportIntent',
intent:
| 'gridCellIntent'
| 'inlineEditorIntent'
| 'multilineEditorIntent'
| 'stringConversionIntent'
| 'exportIntent'
| 'clipboardIntent',
editorTypes?: DataEditorTypesBehaviour,
gridFormattingOptions?: { useThousandsSeparator?: boolean },
jsonParsedValue?: any
@@ -209,6 +215,7 @@ export function stringifyCellValue(
switch (intent) {
case 'exportIntent':
case 'stringConversionIntent':
case 'clipboardIntent':
return { value: dateString };
default:
const m = dateString.match(dateTimeStorageRegex);