Status code 400 showing on Logs tab and Daily Progress Report datepicker issue.
This commit is contained in:
parent
c1020f4693
commit
33ab6fbdaa
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user