cretueusebiu / vform

Handle Laravel-Vue forms and validation with ease.
https://vform.vercel.app
MIT License
607 stars 120 forks source link

I can not send request array data with file. #137

Open phyzerbert opened 3 years ago

phyzerbert commented 3 years ago

Hi, Thanks for this great package. I often used this package for all my projects. I am trying to upload attachment. And I also have array parameter in my requests. If i select the file, The request changed to FormData, and the array field was changed to different structure. I will attach screenshot. So i can not get the correct array from the request in backend.

image

But with attachment is not working image image

Please take care of this issue. Thanks

aaronlumsden commented 2 years ago

I'm also having the same issue

Snakzi commented 2 years ago

Anyone ever solved this?

stefanocurnis commented 1 year ago

also having this issue

stefanocurnis commented 1 year ago

https://github.com/therealparmesh/object-to-formdata/issues/211

It should be an issue with object-to-formdata. I think we can bump to object-to-formdata version 4.4.2 to solve this