livewire component
in Filament v3 how send arguments to livewire component
Tabs\Tab::make('კავშირები') ->icon('fluentui-plug-connected-checkmark-20') ->badge(fn(Get $get) => count($get('objects') ?? [])) // ✅ dynamic counter ->badgeColor('warning') ->schema([ // 👇 Add D3 Livewire graph View::make('livewire.connection-graph') ->columnSpanFull() ->extraAttributes(['style' => 'min-height: 400px; border: 1px solid #2d2d2d; border-radius: 8px;']),
Tabs\Tab::make('კავშირები') ->icon('fluentui-plug-connected-checkmark-20') ->badge(fn(Get $get) => count($get('objects') ?? [])) // ✅ dynamic counter ->badgeColor('warning') ->schema([ // 👇 Add D3 Livewire graph View::make('livewire.connection-graph') ->columnSpanFull() ->extraAttributes(['style' => 'min-height: 400px; border: 1px solid #2d2d2d; border-radius: 8px;']),
1 Reply
You will probably want to pass in other data from the record though so I'd like use: