Correct flatpickr positioning issue on modals
This commit is contained in:
parent
0d52732489
commit
efb9fda649
1 changed files with 2 additions and 0 deletions
|
@ -175,6 +175,7 @@ window.App.Utils.UI = (function () {
|
||||||
allowInput: true,
|
allowInput: true,
|
||||||
dateFormat: getDateFormat(),
|
dateFormat: getDateFormat(),
|
||||||
locale: getFlatpickrLocale(),
|
locale: getFlatpickrLocale(),
|
||||||
|
static: true,
|
||||||
...params
|
...params
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -195,6 +196,7 @@ window.App.Utils.UI = (function () {
|
||||||
dateFormat: getTimeFormat(),
|
dateFormat: getTimeFormat(),
|
||||||
time_24hr: vars('time_format') === 'military',
|
time_24hr: vars('time_format') === 'military',
|
||||||
locale: getFlatpickrLocale(),
|
locale: getFlatpickrLocale(),
|
||||||
|
static: true,
|
||||||
...params
|
...params
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue