Rad
Rad
FFilament
Created by CookieMC337 on 5/6/2024 in #❓┊help
FileUpload as Base64 String
You could use the ->using () or ->after() lifecycle hooks to fetch the file, base code it and replace the entry in the column. However, temporary means temporary. The file might not be present in the directory after the complete cycle or part way through. Experiment with the lifecycle hooks and dd()
4 replies
FFilament
Created by CookieMC337 on 5/6/2024 in #❓┊help
FileUpload as Base64 String
I think based on my 2 days of experience, you can use ->using(// Custom record creation logic) and changing the file upload behavior to not store the file permanently. Documentation here : https://filamentphp.com/docs/3.x/forms/fields/file-upload#preventing-files-from-being-stored-permanently
4 replies