AliBabba420
Explore posts from serversDispatch event not working on action
EditRecord in panel 1
Action::make('Close Case')
->label(strval(__('close_case')))
->action(function (Model $record) {
$this->dispatch('switchedTeam',[$record])->to(PagesEditStudentCenter::class);
}),
same resource in panel 2 EditRecord
#[On('switchedTeam')]
public function switchedTeam($record)
{
info("list");
dd($record->id);
}
while i execute this close case action the switchedTeam function is not triggered in the panel 2
3 replies
Resource Widgets in the EditPage using Tab layout
I have a student resource file and in the edit page I want to show some resource widgets in tab manner, in v2 i use solutions forest filament tab layout plugin but when I switch to v3 i saw the plugin is archive and it is integrate in v3 infolist builder tab but exactly IInfolist builder is not pass resource widgets ?
Any ideas how can i pass resource widgets in the tab and display it in the edit page of studentresource
4 replies