Muxabble
Muxabble
FFilament
Created by Muxabble on 2/13/2024 in #❓┊help
Error with Builder Field
Oh! I thought it was automatic, thanks for the answer!
8 replies
FFilament
Created by Muxabble on 2/13/2024 in #❓┊help
Error with Builder Field
The Filament Builder component must return a JSON object, and my database schema is also a JSON. the dd($data); returns an array, nothing abnormal, so I don't understand why Laravel is returning an error
array:3 [▼ // app/Filament/Resources/PageResource/Pages/CreatePage.php:15
"title" => "page title"
"slug" => "page-title"
"blocks" => array:1 [▼
0 => array:2 [▼
"type" => "heading"
"data" => array:2 [▼
"content" => "test"
"level" => "h4"
]
]
]
]
array:3 [▼ // app/Filament/Resources/PageResource/Pages/CreatePage.php:15
"title" => "page title"
"slug" => "page-title"
"blocks" => array:1 [▼
0 => array:2 [▼
"type" => "heading"
"data" => array:2 [▼
"content" => "test"
"level" => "h4"
]
]
]
]
8 replies