Fix multiple file upload failed with the example code

After set `maxFiles` to greater than 1, the UploadForm validation is always failed with the example code.

Because after set `maxFiles` to greater than 1, the validator expect `$file` to be an array.