Hedi
Hedi
FFilament
Created by Hedi on 3/9/2024 in #❓┊help
file upload takes too long and ends up with an error
hello, when i try to upload a large file (100mb) this happens. it rotates for a couple seocnds, then the rotation disappears and after a couple minutes the upload fails with "error during upload". this is my code
public static function form(Form $form): Form
{
return $form
->schema([
FileUpload::make('file_name')->directory('uploaded')->preserveFilenames()
]);
}
public static function form(Form $form): Form
{
return $form
->schema([
FileUpload::make('file_name')->directory('uploaded')->preserveFilenames()
]);
}
small files works fine, this only happens with large files. thank you in advance!
3 replies
FFilament
Created by Hedi on 3/7/2024 in #❓┊help
use record id in fileAttachmentsDirectory
hello, i have this code
RichEditor::make('content')->fileAttachmentsDirectory('posts')->columnSpan('full'),
RichEditor::make('content')->fileAttachmentsDirectory('posts')->columnSpan('full'),
inside this richeditor, i wnat to upload the attachments into the posts/postId/ is this possible?
2 replies