5 Replies
anyone?
I don't think there is any
content()
method on the View component. I would usually do something like View::make('filament.forms.component.shipping-notice')
and then make a resources/views/filament/forms/components/shipping-notice.blade.php
file with your HTML inside it. Then you can put something like this into your blade:
i am trying to this inside the customer resource
anyone?
As @Jo said, there is no content method in View, you should use
->view('path.to.blade.view')
then define your content in the file
https://filamentphp.com/docs/3.x/forms/layout/custom