Closed harshith-venkatesh-freshworks closed 1 year ago
@harshith-venkatesh-freshworks Has this been fixed ?. Can you please confirm and close this issue if it has been fixed and released.
Thanks team for quickly prioritizing this issue and helping with the fix.
Component The name of the component
import { FwPlatformTable, FwFilter } from '@freshworks/crayons-custom-objects/react'; "@freshworks/crayons-custom-objects": "^1.3.0-beta.15",
Describe the bug A clear and concise description of the issue.
When we select the range of the Date, and add it to the filter, we end up getting the fromDate and toDate Object which is being used as parameters as well, however it is not being shown same as the value here. The behaviour is being repeated in case of change of range as well. Most of the time, we are observing this error
On change of date range in filter, this is being observed. "01 Jun 2023 to 03 Jun 2023" is the value being passed which leads to an issue over this function.
// If ISO format, format it to display format and validate let [fromDate, toDate] = (value === null || value === void 0 ? void 0 : value.split(TranslationController.t('datepicker.to'))) || []; fromDate = fromDate === null || fromDate === void 0 ? void 0 : fromDate.trim(); toDate = toDate === null || toDate === void 0 ? void 0 : toDate.trim();
To Reproduce Steps to reproduce the current behavior:
Expected behavior A clear and concise description of what is expected to happen.
Screenshots
Additional context Add any other context about the bug here.