! GhostvOne.tv πŸ‘»πŸ‡«πŸ‡·
! GhostvOne.tv πŸ‘»πŸ‡«πŸ‡·
Explore posts from servers
FFilament
Created by player on 4/26/2024 in #β“β”Šhelp
Table column download spatie document file
hey @player did you fint a way to achieve that ?
4 replies
FFilament
Created by ! GhostvOne.tv πŸ‘»πŸ‡«πŸ‡· on 8/11/2024 in #β“β”Šhelp
❓ SpatieMediaLibraryFileUpload on repeater with relation doesn't work
Here my code
// Gallery form
public function form(Form $form): Form
{
return $form
->columns(3)
->schema([
Forms\Components\TextInput::make('title') // Gallery Title
->label('Title')
->required()
->columnSpanFull()
->maxLength(255),
Forms\Components\Textarea::make('description') // Gallery Title
->label('Description')
->columnSpanFull()
->rows(3),

Forms\Components\Repeater::make('media')
->label('Images')
->columnSpanFull()
->relationship('media') // Images from my gallery
->grid(3)
->label(false)

->schema([
Forms\Components\SpatieMediaLibraryFileUpload::make('media')
->label(false)
->disk('s3-public')
->moveFiles(),
Forms\Components\TextInput::make('title')
->label(false)
->placeholder('Title')
->reactive()
->maxLength(255),
Forms\Components\Textarea::make('description')
->label(false)
->placeholder('Description')
->rows(3),
]),
]);
}
// Gallery form
public function form(Form $form): Form
{
return $form
->columns(3)
->schema([
Forms\Components\TextInput::make('title') // Gallery Title
->label('Title')
->required()
->columnSpanFull()
->maxLength(255),
Forms\Components\Textarea::make('description') // Gallery Title
->label('Description')
->columnSpanFull()
->rows(3),

Forms\Components\Repeater::make('media')
->label('Images')
->columnSpanFull()
->relationship('media') // Images from my gallery
->grid(3)
->label(false)

->schema([
Forms\Components\SpatieMediaLibraryFileUpload::make('media')
->label(false)
->disk('s3-public')
->moveFiles(),
Forms\Components\TextInput::make('title')
->label(false)
->placeholder('Title')
->reactive()
->maxLength(255),
Forms\Components\Textarea::make('description')
->label(false)
->placeholder('Description')
->rows(3),
]),
]);
}
How Can I use SpatieMediaLibraryFileUpload with my repeater ? Thanks
2 replies
FFilament
Created by limewater23 on 3/10/2024 in #β“β”Šhelp
Filament Can't Login, Shows 419 Page Expired but Shows login page CSRF token mismatch
ty
11 replies
FFilament
Created by limewater23 on 3/10/2024 in #β“β”Šhelp
Filament Can't Login, Shows 419 Page Expired but Shows login page CSRF token mismatch
Since I published the config file of livewire, everything works
11 replies
FFilament
Created by limewater23 on 3/10/2024 in #β“β”Šhelp
Filament Can't Login, Shows 419 Page Expired but Shows login page CSRF token mismatch
My issue was because livewire config files was not pubished
11 replies
FFilament
Created by limewater23 on 3/10/2024 in #β“β”Šhelp
Filament Can't Login, Shows 419 Page Expired but Shows login page CSRF token mismatch
same here, did you find any solution ?
11 replies
FFilament
Created by ! GhostvOne.tv πŸ‘»πŸ‡«πŸ‡· on 7/26/2024 in #β“β”Šhelp
Trying to have FileUpload works with my table
Thanks for you help, i'm using mutateFormDataBeforeFill Now how can I change/overide upload and delete action ?
8 replies
FFilament
Created by ! GhostvOne.tv πŸ‘»πŸ‡«πŸ‡· on 7/26/2024 in #β“β”Šhelp
Trying to have FileUpload works with my table
I'm in a form builder and I don't find where to use getStateUsing ?
8 replies