putheakhem
putheakhem
FFilament
Created by putheakhem on 11/15/2023 in #❓┊help
Lifecyle hook after() didn't trigger
I want to run Artisan command after the record is edited.
Tables\Actions\EditAction::make()->after(function () {
Artisan::call('read:edit-regulation');
}),
Tables\Actions\EditAction::make()->after(function () {
Artisan::call('read:edit-regulation');
}),
but it didn't trigger
2 replies
FFilament
Created by putheakhem on 8/28/2023 in #❓┊help
sortable pivot data
can anyone here help with sortable pivot data the link below is broken I've submitted a snippet to help users with sortable pivot data. If you store the sortable data in a pivot table, you can use this trick to enable reordering: https://filamentphp.com/tricks/use-pivot-data-to-reorder-in-relation-manager
2 replies
FFilament
Created by putheakhem on 8/24/2023 in #❓┊help
Custom Pivot Column not appear when attach
Tables\Actions\AttachAction::make()
->form(fn (AttachAction $action): array => [
$action->getRecordSelect(),
Forms\Components\Select::make('language')
->options([
'KH' => 'Khmer',
'EN' => 'English',
'FR' => 'French',
])
->required(),
]),
Tables\Actions\AttachAction::make()
->form(fn (AttachAction $action): array => [
$action->getRecordSelect(),
Forms\Components\Select::make('language')
->options([
'KH' => 'Khmer',
'EN' => 'English',
'FR' => 'French',
])
->required(),
]),
the field language not appear when click on Attach Button
2 replies
FFilament
Created by putheakhem on 8/16/2023 in #❓┊help
DatePicker Only Year
I want to use datepicker but I want to allow user select only year ? Is it possible ?
4 replies
FFilament
Created by putheakhem on 8/15/2023 in #❓┊help
Multiple Lavel Relationship
Book hasMany Content Content hasMany Chapter Chapter hasMany Part Part hasMany SubPart SubPart hasMany Alphabet On PartResource How can I show dropdown select for Book, Content and Chapter( I mean dependent select) Please help me thanks
3 replies
FFilament
Created by putheakhem on 4/10/2023 in #❓┊help
Cannot click on every resource Navigation
4 replies