Replies: 2 comments
|
You can PR a new |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Previously I asked how to insert custom HTML between two fields in form and still not found a better answer than inserting it like
\Filament\Forms\Components\View::make(). It works for simple HTML but now I need to embed a Livewire component into form, table, etc.One but not the only point of it is to show, for example, a Filament table in an Infolist.
I achieved with next steps:
php artisan make:infolist-layout Barphp artisan make:livewire Foo<div>@livewire('foo')</div>to bar.blade.php\Filament\Forms\Components\View::make('infolists.components.bar')to the ResourceIt works but
bar.blade.phplooks dumb. My question is am I doing these things right? Is there an option likeLivewire::make()maybe?All reactions