Add boolean with toggle in csv import (#6050)

Better UI when importing boolean via CSV (with a toggle)
This commit is contained in:
Félix Malfait
2024-06-26 22:55:49 +02:00
committed by GitHub
parent 7b816e500c
commit 08c081d315
2 changed files with 12 additions and 0 deletions

View File

@ -147,6 +147,8 @@ export const ValidationStep = <T extends string>({
importColumn.value === column.key) ||
(importColumn.type === ColumnType.matchedSelectOptions &&
importColumn.value === column.key) ||
(importColumn.type === ColumnType.matchedCheckbox &&
importColumn.value === column.key) ||
column.key === 'select-row',
).length > 0;