Magikstah
Magikstah
FFilament
Created by Magikstah on 8/24/2023 in #❓┊help
ContentGrid([]) doesn't change table format to grid
Hi - I want to place records from my table in Grid, im using V3 version of filament - in V2 adding
->contentGrid([
'md' => 2,
'xl' => 3,
]);
->contentGrid([
'md' => 2,
'xl' => 3,
]);
Was enought to put data in grid, but now my tables are still in normal row view (filament 3.0.3 laravel 10.2 livevire 3.0.0-beta.1)
3 replies
FFilament
Created by Magikstah on 7/24/2023 in #❓┊help
Reactive Builder field
Hello I want to create Builder field with lets say three blocks: - Hero - Footer - Header Is there a possibility to create for example reactive text input / placeholder that will fill whenever you Add a section in Builder field? I've tried to add reactive() and afterStateUpdate() in few places but I cant really get any effect
5 replies
FFilament
Created by Magikstah on 7/20/2023 in #❓┊help
Laravel mix error - when trying to build filament theme
Hello, i followed this guide here: https://filamentphp.com/docs/2.x/admin/appearance#building-themes - when I import filament.css in /resources/css/filament.css with @import '../../vendor/filament/filament/resources/css/app.css';
Mix ends with error:
vendor/filament/filament/resources/css/app.css The `from-gray-200` class does not exist. If `from-gray-200` is a custom class, make sure it is defined within a `@layer` directive.
vendor/filament/filament/resources/css/app.css The `from-gray-200` class does not exist. If `from-gray-200` is a custom class, make sure it is defined within a `@layer` directive.
21 replies
FFilament
Created by Magikstah on 5/6/2023 in #❓┊help
Form Select Component doesn't want to take default() value
Hi, Im creating Select in my form

Forms\Components\Select::make('email')
->options(function () {
return User::all()->pluck('email', 'id');
})->default(auth()->user()->id)
->required()

Forms\Components\Select::make('email')
->options(function () {
return User::all()->pluck('email', 'id');
})->default(auth()->user()->id)
->required()
Select doesnt react to any changes that I apply. My end goal is to create select with all users email- but when record is already created i want to pass these user email as default. Options method seems fine, I have all options with proper values and names.
9 replies
FFilament
Created by Magikstah on 3/15/2023 in #❓┊help
Markdown Editor
Hi, I wonder if there's a helper or something that lets you convert anything that user put in Markdown Editor to acctual html? Because right now when i send data with form i get everything i typed in input like
**test**
_ttt_
~~ttt~~
**test**
_ttt_
~~ttt~~
Instead of
<b>test</b>
...
<b>test</b>
...
3 replies
FFilament
Created by Magikstah on 3/8/2023 in #❓┊help
AWS Elastic Beanstalk Environment - 419 Expired
Hi, I have my application deployed on aws elastic beanstalk, there're two instances, and sometimes when load balancer ticks users get 419 expired which is strange because I store sessions in database, is there any chance that cache/livewire components are in fault here? Maybe someone had similar experience?
1 replies