fix: parse csv files with uneven columns in their rows (#5965)

This commit is contained in:
Ariel Leyva authored and GitHub committed 2026-06-03 11:22:05 +02:00
1 parent 847d08bdd1
commit 5328e80d2e
1 file changed
+5 -1
+5 -1
View File
@@ -138,7 +138,11 @@ watchEffect(() => {
: props.content; : props.content;
parse( parse(
content as string, content as string,
{ delimiter: columnSeparator.value, skip_empty_lines: true }, {
delimiter: columnSeparator.value,
skip_empty_lines: true,
relax_column_count: true,
},
(error, output) => { (error, output) => {
if (error) { if (error) {
console.error("Failed to parse CSV:", error); console.error("Failed to parse CSV:", error);