Correct flatpickr positioning issue on modals

This commit is contained in:
Alex Tselegidis 2023-02-20 08:09:03 +01:00
parent 0d52732489
commit efb9fda649

View file

@ -175,6 +175,7 @@ window.App.Utils.UI = (function () {
allowInput: true,
dateFormat: getDateFormat(),
locale: getFlatpickrLocale(),
static: true,
...params
});
}
@ -195,6 +196,7 @@ window.App.Utils.UI = (function () {
dateFormat: getTimeFormat(),
time_24hr: vars('time_format') === 'military',
locale: getFlatpickrLocale(),
static: true,
...params
});
}