9b42dafd7f
When you pass in an element to the `attemptSubmit` that has a `type="submit"`, then the `attemptSubmit` will just click this element. We want to skip the current one and fallback to `form.requestSubmit()` instead.