prevent closing the datefield options on calendar select and updated collections upsert save handler

This commit is contained in:
Gani Georgiev
2023-03-28 09:06:16 +03:00
parent 3ea02c945d
commit ff1f99436a
31 changed files with 146 additions and 126 deletions
+2 -1
View File
@@ -113,9 +113,10 @@
function handleOutsideClick(e) {
if (
active &&
isOutsideMouseDown &&
!container?.contains(e.target) &&
!activeTrigger?.contains(e.target) &&
isOutsideMouseDown
!e.target?.closest(".flatpickr-calendar")
) {
hide();
}