Browse Source

fix: avoid trimming of options when conversion to slt to ss

nc-fix/slt-single-select-conversion
DarkPhoenix2704 2 months ago
parent
commit
bb6816ce57
  1. 6
      packages/nocodb/src/services/columns.service.ts

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

@ -684,11 +684,11 @@ export class ColumnsService {
}
}
for (const v of values) {
if (!existingOptions.includes(v.trim())) {
if (!existingOptions.includes(v)) {
acc.push({
title: v.trim(),
title: v,
});
existingOptions.push(v.trim());
existingOptions.push(v);
}
}
}

Loading…
Cancel
Save