Release 9.9.10-alpha.1
Pre-release9.9.10-alpha.1 (2023-11-09)
Features
-
core dom: find_form - find a related form element. (01b348d)
Add a function to find a related form element. If called on any element
it would first try to get a input element and get it's associated form -
which can be different and as a last resort to find the element's
enclosing form. Otherwise return undefined.
Bug Fixes
-
pat autosubmit: Re-add support for autosubmit on non form elements. (a2530f3)
Fix a problem introduces in Patternslib 9.9.7 where pat-autosubmit did
not work when not defined on a form or input element.
As a side effect, the submit event is now always invoked on the related
or nearest form of the element where pat-autosubmit was defined on. If
that element is not a form element a related (input.form) or the nearest
parent form is searched and the submit event invoked upon.