We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
If your addDependent field have a FileType::class the model behind will stay as null, and not have a UploadedFile.
addDependent
FileType::class
UploadedFile
I tried to add enctype: multipart/form-data to form attributes, like this
enctype: multipart/form-data
{{ form_start(form, { attr: { 'data-action': 'live#action:prevent', 'data-live-action-param': 'save', 'enctype': 'multipart/form-data', } }) }}
But that didnt do the trick.
The text was updated successfully, but these errors were encountered:
same here
Sorry, something went wrong.
No branches or pull requests
If your
addDependent
field have aFileType::class
the model behind will stay as null, and not have aUploadedFile
.I tried to add
enctype: multipart/form-data
to form attributes, like thisBut that didnt do the trick.
The text was updated successfully, but these errors were encountered: