keen-tracking.js icon indicating copy to clipboard operation
keen-tracking.js copied to clipboard

serializeForm breaks form when submit is named

Open tcz opened this issue 1 year ago • 4 comments

The submit input and submit button are special inputs with the following property:

Upon submitting, the data name/value pair gets sent to the server.

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.

tcz avatar Jan 11 '23 13:01 tcz