mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 12:46:57 +00:00
fix(nc-gui): add debug console
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import dayjs from 'dayjs'
|
||||
import type { AttachmentType, ColumnType, LinkToAnotherRecordType, SelectOptionsType } from 'nocodb-sdk'
|
||||
import { UITypes, getDateFormat, getDateTimeFormat, populateUniqueFileName } from 'nocodb-sdk'
|
||||
import { ColumnHelper, UITypes, getDateFormat, getDateTimeFormat, populateUniqueFileName } from 'nocodb-sdk'
|
||||
import { SilentTypeConversionError } from '~/error/silent-type-conversion.error'
|
||||
import { SelectTypeConversionError } from '~/error/select-type-conversion.error'
|
||||
import { ComputedTypePasteError } from '~/error/computed-type-paste.error'
|
||||
@@ -26,6 +26,11 @@ export default function convertCellData(
|
||||
// return null if value is empty
|
||||
if (value === '' && to !== UITypes.Attachment) return null
|
||||
|
||||
// Todo: remove after testing
|
||||
const serializedValue = ColumnHelper.serializeValue(value, column)
|
||||
|
||||
console.log('serializedValue', serializedValue, value, column.uidt)
|
||||
|
||||
switch (to) {
|
||||
case UITypes.SingleLineText:
|
||||
case UITypes.LongText:
|
||||
|
||||
Reference in New Issue
Block a user