Status code 400 showing on Logs tab and Daily Progress Report datepicker issue. #157

Merged
vikas.nale merged 1 commits from Kartik_Bug#392 into Issue_May_5W 2025-05-31 08:09:08 +00:00

View File

@ -12,7 +12,9 @@ const DateRangePicker = ({ onRangeChange, DateDifference = 7, defaultStartDate =
const fp = flatpickr(inputRef.current, {
mode: "range",
dateFormat: "d-m-Y",
dateFormat: "Y-m-d", // Format for backend (actual input value)
altInput: true, // Enables a visually different field
altFormat: "d-m-Y",
defaultDate: [fifteenDaysAgo, today],
static: true,
clickOpens: true,