jimmywarting / FormData

HTML5 `FormData` polyfill for Browsers and nodejs
MIT License
360 stars 102 forks source link

Fix formdata incorrectly populating buttons into the dataset #62

Closed adamscybot closed 5 years ago

adamscybot commented 5 years ago

Theres a problem whereby if the form element contains buttons, there data gets incorrectly added to the object. The actual behaviour in real implementations is that buttons get ignored.

This brings it in line with the specification.

jimmywarting commented 5 years ago

Thanks, will publish it just in a minute

jimmywarting commented 5 years ago

released as 3.0.13