merge newui branch

This commit is contained in:
Gani Georgiev committed 2026-04-18 16:50:39 +03:00
1 parent 58f605e90c
commit 4c44044c0c
804 files changed
+58660 -56663

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// auto open accordions if there is an invalid item
document.addEventListener(
"invalid",
(e) => {
const details = e.target.closest("details");
if (details && !details.open && !e.target.closest("summary")) {
details.open = true;
// revalidate and show the error message
e.target.reportValidity && e.target.reportValidity();
}
},
true,
);