-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add support for multiple 'File' types #111
Comments
sorry for the long silence.... But for now this should be easily setup via |
I know this is old, but how does this look in the context of SS4 and the master version here? I guess the ufSetup route is still fine? |
Hi there,
if you dont have any objections, it would be great to add $uploadField->relationAutoSetting = false in GridFieldBulkUpload->bulkUploadField(). See here:
arillo@82a6d5d
This solves problems with gridfields using multiple classes and prevent the related File type forced to be 'File' only. In this case silverstripe autodetects the proper class (File or Image, depending on its file extension).
Surely an configurable solution for the behaviour would be nice as well.
Friendly regards,
Bumbus
The text was updated successfully, but these errors were encountered: