Jaxel
Well-known member
I'm trying to handle a multiple file upload row
I feel like that should work... but no matter what, the dump only ever has one item in the upload list. What am I missing?
Code:
<xf:uploadrow name="uploads" label="{{ phrase('image') }}"
accept=".gif,.jpeg,.jpg,.jpe,.png" multiple="true" />
Code:
$uploads = $this->request->getFile('uploads', true, false);
\XF::dump($uploads);
I feel like that should work... but no matter what, the dump only ever has one item in the upload list. What am I missing?