Basic import for select in CSV (#6047)
Enables basic support for Select import and field matching in CSV. It's not pretty! But it's better than what we had before. We should iterate on that quickly <img width="591" alt="Screenshot 2024-06-26 at 18 41 16" src="https://github.com/twentyhq/twenty/assets/6399865/99f67f39-3f0f-4074-aac6-3200954be08a">
This commit is contained in:
@ -143,6 +143,10 @@ export const ValidationStep = <T extends string>({
|
||||
(importColumn) =>
|
||||
(importColumn.type === ColumnType.matched &&
|
||||
importColumn.value === column.key) ||
|
||||
(importColumn.type === ColumnType.matchedSelect &&
|
||||
importColumn.value === column.key) ||
|
||||
(importColumn.type === ColumnType.matchedSelectOptions &&
|
||||
importColumn.value === column.key) ||
|
||||
column.key === 'select-row',
|
||||
).length > 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user