autofill-event icon indicating copy to clipboard operation
autofill-event copied to clipboard

Return $rootElement if no parent form is found

Open bsweeney opened this issue 11 years ago • 0 comments

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.

bsweeney avatar Feb 04 '15 18:02 bsweeney