diff --git a/public/dashboard/event.html b/public/dashboard/event.html index 5d5c44b..f7f41ff 100644 --- a/public/dashboard/event.html +++ b/public/dashboard/event.html @@ -894,6 +894,14 @@ showVideoPanel(state.locationCode); await loadEvents(); + + // FINAL CHECK: Pastikan dateInput masih hari ini setelah semua async operations + const finalDateInput = document.getElementById('filter-date'); + if (finalDateInput && finalDateInput.value !== state.date) { + console.warn('[Events] Date input value changed after async operations, resetting to:', state.date); + finalDateInput.value = state.date; + finalDateInput.setAttribute('value', state.date); + } });