Skip to content

Fix Filament infolist Section class not found#321

Merged
simonhamp merged 1 commit intomainfrom
fix-filament-infolist-section
Mar 30, 2026
Merged

Fix Filament infolist Section class not found#321
simonhamp merged 1 commit intomainfrom
fix-filament-infolist-section

Conversation

@simonhamp
Copy link
Copy Markdown
Member

@simonhamp simonhamp commented Mar 30, 2026

Summary

  • Import Section from Filament\Schemas\Components instead of Filament\Infolists\Components in both ViewSubscription and ViewSubscriptionItem pages
  • In Filament v5, layout components like Section moved to the Filament\Schemas\Components namespace — the old Filament\Infolists\Components\Section no longer exists
  • Added tests verifying both view pages render successfully

Fixes #49

Test plan

  • ViewSubscription page renders without error
  • ViewSubscriptionItem page renders without error
  • Manually visit /admin/subscriptions/{id} to confirm the page loads

🤖 Generated with Claude Code

Import Section from Filament\Schemas\Components instead of
Filament\Infolists\Components, which no longer contains layout
components in Filament v5.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 30, 2026 19:41
@simonhamp simonhamp merged commit 664123b into main Mar 30, 2026
2 checks passed
@simonhamp simonhamp deleted the fix-filament-infolist-section branch March 30, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant