naja-js / naja

Modern AJAX library for Nette Framework
https://naja.js.org
MIT License
109 stars 16 forks source link

Submitter should be left out from data if its name is empty #333

Closed jiripudil closed 2 years ago

jiripudil commented 3 years ago

Bug Report

As reported on Nette Forum, Naja adds the submitter to the form data even if it has an empty name. According to the HTML spec, fields with an empty name should be omitted from the data set though.

rajdama commented 3 years ago

I can do this.

jiripudil commented 3 years ago

Sure, go ahead, thank you!

Essentially it should suffice to

rajdama commented 3 years ago

Noted 👍