diff --git a/packages/nocodb/src/lib/noco/meta/api/columnApis.ts b/packages/nocodb/src/lib/noco/meta/api/columnApis.ts index 180b5df871..26d373334b 100644 --- a/packages/nocodb/src/lib/noco/meta/api/columnApis.ts +++ b/packages/nocodb/src/lib/noco/meta/api/columnApis.ts @@ -493,7 +493,11 @@ export async function columnAdd(req: Request, res: Response) { }> = (await sqlClient.columnList({ tn: table.table_name }))?.data?.list; const insertedColumnMeta = - columns.find(c => c.cn === colBody.column_name) || {}; + columns.find(c => c.cn === colBody.column_name) || {} as any; + + if (colBody.uidt === UITypes.SingleSelect || colBody.uidt === UITypes.MultiSelect) { + insertedColumnMeta.dtxp = colBody.dtxp; + } await Column.insert({ ...colBody,