-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serializeForm breaks form when submit is named #232
Comments
@tcz Did you try fixing this? |
No, I did not. I think the company should fix this. |
Root cause seems in https://github.com/defunctzombie/form-serialize/ which this uses "a modified 0.7.1"
So this seems to be that issue: defunctzombie/form-serialize#52 |
We found out that deleting the else branch here fully, at least does not break the original form submit: keen-tracking.js/lib/utils/listener.js Line 256 in a3823d3
|
The submit input and submit button are special inputs with the following property:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit
This gets completely ignored by Keen when capturing form-submit events and it breaks forms that rely on this.
The text was updated successfully, but these errors were encountered: