© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
7 replies
Wojtek-R
Pass data to widget from custom page
Hi
,
I
'm trying to pass custom variable to widget component like below
, but keep getting this error
<x-filament-panels::page :widget-data="['shift' => $shift]">
<x-filament-panels::page :widget-data="['shift' => $shift]">
"trim
(
)
: Argument
#1
(
$string
) must be of type string
, array given
"
any help guys
?
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
Recent Announcements
Similar Threads
pass data to widget from custom page
F
Filament / ❓┊help
3y ago
Pass data to widget
F
Filament / ❓┊help
3y ago
how can i pass data to widget from editRecords page?
F
Filament / ❓┊help
3y ago
Pass URL parameter from Page to Widget
F
Filament / ❓┊help
2y ago