Antea
Antea
FFilament
Created by lukaveck1 on 3/25/2025 in #❓┊help
Storing multiple filenames at once when uploading multiple files
StoreFileNamesIn is only an additional optional column to store the actual filenames in for downloading or showing in UI, you have to have 2 columns if you want that, 1 for the actual random generated filenames and 1 for storeFileNamesIn
34 replies
FFilament
Created by Aman on 3/19/2025 in #❓┊help
How can I send an email after creating a user in the Filament admin panel?
If you need specific data from the form to use for the mail you can edit the handleRecordCreation iirc method in CreateUser page class of your UserResource
7 replies
FFilament
Created by Aman on 3/19/2025 in #❓┊help
How can I send an email after creating a user in the Filament admin panel?
I think you can get really far just by using an observer, or static::created() in your user model booted() and making a welcome mailable, not really filament specific
7 replies
FFilament
Created by Dan Harrin on 2/27/2025 in #❓┊help
Help Us Improve Filament’s Docs & Education in v4
Yeah its great already, what helped me understand the most was the advanced forms examples and for understanding livewire and customizing things it really helped looking through https://github.com/andrewdwallo/erpsaas so maybe include some more advanced examples. I actually started learning Laravel directly with filament and honestly it felt like cheating, I was going so fast!, I only did plain php before (boss created his own (horrible🤣, xslt, soap etc) framework on my old job.
69 replies
FFilament
Created by pjb on 2/14/2025 in #❓┊help
Full-page ManageRelatedRecords Form? (Nova equivalent)
->modalWidth(MaxWidth::Screen) perhaps
5 replies
FFilament
Created by Myster on 2/21/2025 in #❓┊help
Log Translation (ActivityLog Rômulo Ramos)
Actually i copied this guys code https://github.com/rmsramos/activitylog/pull/71 he has changed the hardcoded strings to translate files among other features
8 replies
FFilament
Created by Myster on 2/21/2025 in #❓┊help
Log Translation (ActivityLog Rômulo Ramos)
I think i did it by extending the activityaction class with my own because those strings are hard coded iirc
8 replies
FFilament
Created by Antea on 8/27/2024 in #❓┊help
Infolist TextEntry with enum casted attribute
thanks
5 replies
FFilament
Created by hosmar27 on 8/22/2024 in #❓┊help
Dynamically change Form component in Repeater
->schema(function ($record) {

$userCargoFormulario = DB::table('user_cargo_formulario as ucf')
->join('cargo_formulario as cf','ucf.cargo_formulario_id','=','cf.id')
->where('ucf.user_id', auth()->id())->get('tipo_id')->toArray();

// dd($userCargoFormulario);

if($userCargoFormulario[0]->tipo_id == 3){
return [ TextInput::make('resposta')] ; //change to array here
}
})
->schema(function ($record) {

$userCargoFormulario = DB::table('user_cargo_formulario as ucf')
->join('cargo_formulario as cf','ucf.cargo_formulario_id','=','cf.id')
->where('ucf.user_id', auth()->id())->get('tipo_id')->toArray();

// dd($userCargoFormulario);

if($userCargoFormulario[0]->tipo_id == 3){
return [ TextInput::make('resposta')] ; //change to array here
}
})
5 replies
FFilament
Created by hosmar27 on 8/22/2024 in #❓┊help
Dynamically change Form component in Repeater
It needs an array of components instead of returning just TextInput
5 replies
FFilament
Created by Antea on 8/14/2024 in #❓┊help
Sticky header inconsistency with logo
ah its because of the debugbar taking up space
5 replies
FFilament
Created by Antea on 8/14/2024 in #❓┊help
Sticky header inconsistency with logo
I have no custom css
5 replies
FFilament
Created by Antea on 8/7/2024 in #❓┊help
Setting repeater values from action
thanks
5 replies
FFilament
Created by Antea on 8/6/2024 in #❓┊help
programmatically filling in multiple Repeater entries on create form
nvm its $repeater->default([ ['field' => 'value'] ])
4 replies