This feature is experimental. Please share your experiences so we know what to keep or change.
Returns a list of form fields within the given element.
You can configure what Unpoly considers a form field by adding CSS selectors to the
up.form.config.fieldSelectors
array.
If the given element is itself a form field, a list of that given element is returned.
The element to scan for contained form fields.
If the element is itself a form field, a list of that element is returned.