FilamentF
Filament10mo ago
Shaheen

Placholder component doesn't render state by default

every time I use the Placeholder component I have to manually set the content to the state using

Placeholder::make('name')->content(fn($state) => $state)
Am I doing something wrong or this is supposed to be default behaviour? if it's default behaviour why is it doesn't have content set to state by default?
Was this page helpful?