@php dd($entry->getWidgets()); $widgetData = $this->getWidgetData();@endphp<x-dynamic-component :component="$getEntryWrapperView()" :entry="$entry"> <div> <x-filament-widgets::widgets :data=" [ ...(property_exists($this, 'filters') ? ['filters' => $this->filters] : []), ...$widgetData, ] " :widgets="$entry->getWidgets()" /> </div></x-dynamic-component>
<?phpnamespace App\Infolists\Components;use App\Filament\Widgets\CompositorChart;use Filament\Infolists\Components\Entry;class InfoListWidget extends Entry{ protected string $view = 'infolists.components.info-list-widget'; public function getWidgets(): array { return [ CompositorChart::class, ]; }}
public function updatedActiveTab(): void { $this->resetTable(); }