amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.02k forks source link

BUG formatSubmit generates the invalid name, when used the HTML input's name as array #1232

Open humans007 opened 3 years ago

humans007 commented 3 years ago

When I use attribute formatSubmit and set the HTML input's name as array like this

<input type="text id="birthdays_1" name="birthdays[]" />

The pickadate.js generates input's name as birthdays[]_submit, The correct one should be birthdays_submit[]