This field is required error #214
Replies: 2 comments
-
Hi there, Thanks for reaching out. You shouldn't need to use Best, |
Beta Was this translation helpful? Give feedback.
-
I tried it with a fresh project that doesn't have any other middlewares and found out that the error was on my part, sorry. Probably should've tried to do that prior to opening an issue. Fixed the problem in my code and now it works. I have a different problem related to the progress bars, though. I'll create a new discussion for that. Thanks! |
Beta Was this translation helpful? Give feedback.
-
With this simple setup:
I keep getting
File: This field is required.
When I add {{ form.media.js }} request.FILES is empty, and "file" in request.POST, when I remove the {{ form.media.js }} request.FILES has "file" and "file" not in request.POST
I have the app and the middleware.
I've tried to figure it out myself but couldn't. I feel like I'm missing something, but I'm not entire sure what. Should I initiate my form differently?
Beta Was this translation helpful? Give feedback.
All reactions