Commit 05edfaaa authored by malzer's avatar malzer
Browse files

Validate removed/empty timestamp values as true

parent e2bfae2c
......@@ -51,7 +51,7 @@ function handleHeaderCells(row) {
function getDateFieldProps(){
return {
validator: function(value, callback){ //custom date validator
if (xsdGYear.test(value) || xsdGYearMonth.test(value) || xsdDateOrDateTime.test(value)) {
if (!value || xsdGYear.test(value) || xsdGYearMonth.test(value) || xsdDateOrDateTime.test(value)) {
callback(true);
} else callback(false);
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment