Pass correct arguments to on-change
callback
This commit is contained in:
parent
21acf032ac
commit
57f0582b71
4 changed files with 94 additions and 5 deletions
|
@ -163,6 +163,8 @@ const RANGE_FORMATTER = function(value, format) {
|
|||
if (start && end) {
|
||||
return formatDate(start, format) + RANGE_SEPARATOR + formatDate(end, format);
|
||||
}
|
||||
} else if (!Array.isArray(value) && value instanceof Date){
|
||||
return formatDate(value, format);
|
||||
}
|
||||
return '';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue