A warning, what the current value is, is now displayed if a disallowed
value is entered Close #21
This commit is contained in:
@ -170,7 +170,7 @@ class CsvxmlValidator {
|
||||
continue;
|
||||
}
|
||||
|
||||
this.errors.controlledLists.push("Disallowed value used for column " + fieldName + " at line " + lineCounter + " (Allowed values are: " + Object.values(allowedValues).join(", ") + ")");
|
||||
this.errors.controlledLists.push("Disallowed value used for column " + fieldName + " at line " + lineCounter + " (Allowed values are: " + Object.values(allowedValues).join(", ") + "; current value is " + line[fieldName] + ")");
|
||||
}
|
||||
lineCounter++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user