autofill-event
autofill-event copied to clipboard
Return $rootElement if no parent form is found
Since input elements can be used outside of form elements it would be nice if instead of an empty object findParentForm() returned the $rootElement. As it currently stands, none of the input elements are checked if there is no parent form.