From d9197d7e32a97f29829ffd4cf4371b1853e51fa2 Mon Sep 17 00:00:00 2001 From: Inverle Date: Fri, 8 Aug 2025 17:39:38 +0200 Subject: New JS attribute: `data-auto-leave-validation` (#7785) Instead of a repeating pattern like: ``, you can now put a `data-auto-leave-validation="1"` attribute on a `
` for example, and it will automatically set the `data-leave-validation` attributes inside the form elements. `data_auto_leave_validation(parent)` from `extra.js` is called on slider open and page load. --------- Co-authored-by: Alexandre Alapetite Co-authored-by: Frans de Jonge --- lib/core-extensions/UserCSS/configure.phtml | 2 +- lib/core-extensions/UserJS/configure.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/core-extensions') diff --git a/lib/core-extensions/UserCSS/configure.phtml b/lib/core-extensions/UserCSS/configure.phtml index 22d4ea79a..49f3c2f82 100644 --- a/lib/core-extensions/UserCSS/configure.phtml +++ b/lib/core-extensions/UserCSS/configure.phtml @@ -2,7 +2,7 @@ declare(strict_types=1); /** @var UserCSSExtension $this */ ?> - +
diff --git a/lib/core-extensions/UserJS/configure.phtml b/lib/core-extensions/UserJS/configure.phtml index 88172679d..e9e853e4e 100644 --- a/lib/core-extensions/UserJS/configure.phtml +++ b/lib/core-extensions/UserJS/configure.phtml @@ -2,7 +2,7 @@ declare(strict_types=1); /** @var UserJSExtension $this */ ?> - +
-- cgit v1.2.3