Skip to content

Commit

Permalink
store string date value in the filter model by default
Browse files Browse the repository at this point in the history
Both date and string values are supported, but there's no reason to change the default.
  • Loading branch information
cherniavskii committed Dec 16, 2023
1 parent 348f11e commit 2701aeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function GridFilterInputDate(props: GridFilterInputDateProps) {

setIsApplying(true);
filterTimeout.start(rootProps.filterDebounceMs, () => {
applyValue({ ...item, value: new Date(value) });
applyValue({ ...item, value });
setIsApplying(false);
});
},
Expand Down

0 comments on commit 2701aeb

Please sign in to comment.