Closed samholmes closed 5 years ago
you have to set form.mulitples
to true
@Neil-UWA I forgot to mention that I do have this option set to true. I think it has to do with how multipart_parser.js
works, since the content-type triggers this module in place of querystring_parser.js
.
A select element with the
multiple
attribute will submit multiple values for one field. Usually, the field will be an array. But, it won't be an array if the form is set withcontent-type: multipart/form-data
; it will just be the last option element's value in the select element.This seems inconsistent. It must be a bug, right?