Using $this when not in object context
Folllowed exactly this to add form to a livewire component but faces the above error. https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component. Tried the suggestions in the #form-builder but still facing the same issue.
15 Replies
Share you component class and Blade view
and the blade view
Can you please share the stack trace as mentioned in #✅┊rules
Okay sure https://flareapp.io/share/NPL8p8oP
Did you create the component using the artisan command?
https://livewire.laravel.com/docs/components#creating-components
Where is the render method?
Laravel
Components | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Yes I did create with the artisan command ....It was there but i removed it . It still works using the livewire underlying render() method.
where are you using this component?
On the dashboard inside a tour .
how are you including? Can you share the code please?
.
why aren't you using this form inside
step schema
?Wanted to get some user information as they go through the onboarding.
I think you can't add this component in the description..
IMO you should add the fields in your form..
You are trying to mount a form inside a form in a description? 🤯
The step isn't really a form.