Undefined variable in custom field
I have very simple form field that i created that extends the simple placeholder component, which looks like so: and then the view is Right now though its saying that $template is undefined. This worked fine with laravel 9 and filament v3 alpha, but not anymore since upgrading to the latest stable of both. I dont see any changes with the Placeholder class that I am extending though. Any ideas what I might be missing?
4 Replies
anyone?
looks like i have to do and then $getTemplate() in the blade. Livewire 3 change?
Properties for custom components should always have a get and set method associated with them.
well somehow i got away with it for a year
Hmm weird. I thought that was always how it’s been.