#17296piVars does not support arrays
Description
I just learned the hard way that piVars does not support arrays.
Create a frontend plugin with a <select multiple> field, add some options and select some of them. Then submit the form.</select>
<form><br><select name="tx_foobar][select][]" size="5" multiple><br> <option value="1">option 1</option><option value="2">option 2</option><option value="3" selected>option 3</option><br></select><br><input name="save" type="submit" value="save"><br></form>Expected result:
piVars[‘select’] is an array which contains the selected items
Actual result:
piVars[‘select’] contains the string “array” :-(
Unfortunately there is no other way to handle <select multiple> than using an array AFAIK.</select>
(issue imported from #M5604)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.