Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Passing a record to a chart - Filament
F
Filament
•
14mo ago
•
35 replies
Jordy
Passing a record to a chart
I want to pass a record to a ChartWidget
, to base the data of of that record
.
However I cannot add a parameter to the mount method because it must be compatible to the parent ChartWidget class that doesnt accept any params
.
.
Solution
whats wrong with
@livewire(GrainChart::class, ['record' => $this->record])
@livewire(GrainChart::class, ['record' => $this->record])
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Injecting model/record into a chart
F
Filament / ❓┊help
15mo ago
Passing record to resource create page
F
Filament / ❓┊help
2y ago
Passing the current record to an Action
F
Filament / ❓┊help
3y ago
Chart retunrs first record only... why?
F
Filament / ❓┊help
3y ago