You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (I guess since version 2.11.0), the Upload validator can accept an array of UploadedFileInterface instances, but not an array of arrays of UploadedFileInterface instances. The latter is returned by ServerRequestInterface::getUploadedFiles if "array-indicating" file identifiers are used as multipart form parameter names (e.g. "file[]").
Note that the two variants can probably appear in a mixed fashion, i.e. the array returned by ServerRequestInterface::getUploadedFiles would contain both UploadedFileInterface instances and arrays of UploadedFileInterface instances.
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
Currently (I guess since version 2.11.0), the Upload validator can accept an array of UploadedFileInterface instances, but not an array of arrays of UploadedFileInterface instances. The latter is returned by ServerRequestInterface::getUploadedFiles if "array-indicating" file identifiers are used as multipart form parameter names (e.g. "file[]").
Note that the two variants can probably appear in a mixed fashion, i.e. the array returned by ServerRequestInterface::getUploadedFiles would contain both UploadedFileInterface instances and arrays of UploadedFileInterface instances.
The text was updated successfully, but these errors were encountered: