You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After playing around with minifying my html, I came across an issue where the submit button detection no longer works due to type="submit" being removed from buttons.
My approach was changing the selector being used to detect the submit button
let btnSubmit = form.querySelector('button:not([type="button"]:not([type="reset"]');
This will still allow any other buttons which appear on the modal to perform as expected.
The text was updated successfully, but these errors were encountered:
After playing around with minifying my html, I came across an issue where the submit button detection no longer works due to type="submit" being removed from buttons.
My approach was changing the selector being used to detect the submit button
let btnSubmit = form.querySelector('button:not([type="button"]:not([type="reset"]');
This will still allow any other buttons which appear on the modal to perform as expected.
The text was updated successfully, but these errors were encountered: