How I can create Form or Table in another class
F.E I want to create another class with form or table
2 Replies
You can use Filament Tables/Forms as standalone packages but not in any class, that class should be a Livewire component.
Found an example on my YouTube channel: https://www.youtube.com/watch?v=B7OUeGB3Gqo
Filament Daily
YouTube
Filament: Sports Standings Tables with Livewire and Blade
One of the most impressive projects of our Filament Examples. Let me show you how it works.
Source on Filament Examples: https://filamentexamples.com/project/sports-standings-table
[Related video] Filament Blade Components: How to Use and Customize Them https://www.youtube.com/watch?v=nByvU9vRVy8
Why would you want to do that?
Form
and Table
are passed by Filament. You can't just rename the class