|
|
@ -852,8 +852,7 @@ export function useMultiSelect( |
|
|
|
(columnObj.colOptions as LinkToAnotherRecordType)?.type === RelationTypes.BELONGS_TO |
|
|
|
(columnObj.colOptions as LinkToAnotherRecordType)?.type === RelationTypes.BELONGS_TO |
|
|
|
) { |
|
|
|
) { |
|
|
|
const clipboardContext = JSON.parse(clipboardData!) |
|
|
|
const clipboardContext = JSON.parse(clipboardData!) |
|
|
|
|
|
|
|
let pasteVal = convertCellData( |
|
|
|
rowObj.row[columnObj.title!] = convertCellData( |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
value: clipboardContext, |
|
|
|
value: clipboardContext, |
|
|
|
to: columnObj.uidt as UITypes, |
|
|
|
to: columnObj.uidt as UITypes, |
|
|
@ -863,6 +862,10 @@ export function useMultiSelect( |
|
|
|
isMysql(meta.value?.source_id), |
|
|
|
isMysql(meta.value?.source_id), |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (pasteVal === undefined) return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rowObj.row[columnObj.title!] = pasteVal |
|
|
|
|
|
|
|
|
|
|
|
const foreignKeyColumn = meta.value?.columns?.find( |
|
|
|
const foreignKeyColumn = meta.value?.columns?.find( |
|
|
|
(column: ColumnType) => column.id === (columnObj.colOptions as LinkToAnotherRecordType)?.fk_child_column_id, |
|
|
|
(column: ColumnType) => column.id === (columnObj.colOptions as LinkToAnotherRecordType)?.fk_child_column_id, |
|
|
|
) |
|
|
|
) |
|
|
|