-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when using single_upload #46
Labels
Comments
Hi @thibmonier Could you please show us your generator file? Thank you, |
And if you set |
like this:
|
finally I did this and it's working : fields:
articleImage:
label: Image
formType: single_upload
dbType: string
addFormOptions:
nameable: articleImageName
deleteable: articleImagePath
data_class: Symfony\Component\HttpFoundation\File\File
previewFilter: news_mini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use a single_upload, I follow instructions in documentation with VichUploader but I have this error when I'm doing a cache:clear or when I'm trying to display the list.
My config in generator.yml
And my entity
Any ideas ?
The text was updated successfully, but these errors were encountered: