Replies: 1 comment
-
I've never used this package before, but I think that if you want to use it with Filament, you may need to create a custom field that extends the FileUpload component and modifies what you need. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Form builder
Package Version
v3.2
How can we help you?
We use czim/laravel-paperclip for uploading files for various models. In trying to move from Laravel Nova to Filament, I receive the following error when going to the User edit (there are two sections - User and Profile). This resource uses
Error....
Easy enough to understand, it's trying to hydrate the user profile image but it's getting the paperclip attachment used in the Profile construct:
In reading, I came across Wireables and Synthesizers. However, I really don't care if a user's profile image shows up in the admin or not. But when I remove
FileUpload::make('avatar')->label('Avatar')->avatar()
I get another error:Why is this even showing up if the Field is no longer included? I use Laravel Nova which has been pretty simple to set up the images attached to the models. Would appreciate any feedback.
Beta Was this translation helpful? Give feedback.
All reactions