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.
Was this page helpful?