Browse Source

fix: supported types for conversion

pull/6583/head
mertmit 1 year ago
parent
commit
2c3cd572cd
  1. 9
      packages/nocodb/src/services/columns.service.ts

9
packages/nocodb/src/services/columns.service.ts

@ -303,9 +303,14 @@ export class ColumnsService {
); );
} }
} else if ( } else if (
[UITypes.SingleLineText, UITypes.LongText].includes(column.uidt) [
UITypes.SingleLineText,
UITypes.Email,
UITypes.PhoneNumber,
UITypes.URL,
].includes(column.uidt)
) { ) {
// SingleLineText/LongText to SingleSelect/MultiSelect // Text to SingleSelect/MultiSelect
const dbDriver = await reuseOrSave('dbDriver', reuse, async () => const dbDriver = await reuseOrSave('dbDriver', reuse, async () =>
NcConnectionMgrv2.get(source), NcConnectionMgrv2.get(source),
); );

Loading…
Cancel
Save