.ffww
.ffww
FFilament
Created by .ffww on 9/18/2023 in #❓┊help
How to Display Uploaded PDF Files in Filament
Hello, I've been studying Filament for about a month now, and I'm currently having trouble creating fields for file uploads. How can I make the fields in the file upload section view the uploaded files? I've tried using the 'openable()' method, and here is an example of my code { FileUpload::make('contract_file') ->label('Contranct') ->translateLabel() ->preserveFilenames() ->openable() ->acceptedFileTypes(['application/pdf'])
2 replies