Muxabble
Muxabble
FFilament
Created by Muxabble on 2/13/2024 in #❓┊help
Error with Builder Field
Hello, I did a fresh install of Laravel 10 with Filament 3, I created a resource page : - Title - string - Slug - string - Content - JSON I want to use the Builder component but I have 2 errors: The first is : Cannot use Filament\Forms\Components\Builder as Builder because the name is already in use So I changed the name to : use Filament\Forms\Components\Builder as PageBuilder this solves the first error, but when I try to add a block and save the resource, I get a second error: Array to string conversion It does save the title and slug, but for the content it replaces them with ?
INSERT INTO
`pages` (
`title`,
`slug`,
`content`,
`updated_at`,
`created_at`
)
VALUES
(dsf, dfs, ?, 2024 -02 -13 12: 28: 32, 2024 -02 -13 12: 28: 32)
INSERT INTO
`pages` (
`title`,
`slug`,
`content`,
`updated_at`,
`created_at`
)
VALUES
(dsf, dfs, ?, 2024 -02 -13 12: 28: 32, 2024 -02 -13 12: 28: 32)
Have you come across this problem before? Thanks !
8 replies
FFilament
Created by Muxabble on 2/9/2024 in #❓┊help
Can we modify the view (blade) of a form component ? Ex: Builder
Hi, I'm new to Filament, and I need to customize the HTML and CSS of the Builder component blocks (in the admin panel). Is this possible? Thanks for your help !
4 replies