Custom EditProfile page not rendering the form
I'm building a jobs management and application site and I want to force the user to an Applicant Profile page before they can do anything else. This uses an Applicant model that's a relation to their User object. I have the form working as a regular Livewire component/view with a Filament form but I was getting some strange behavior with validation. So I'm trying to fit it into Filament's auth profile feature to see it that fixes it.
First, I know the custom EditProfile class is getting used. The properties/methods that I am overriding (heading and isSimple) are being used correctly. And in the form() function, I can dd and see the Form object that's being created and returned. But I'm not getting the form rendered on the page. Just a big blank space after the heading. Any ideas why?
Second, is this even a decent way to handle this? Is it assumed that EditProfile is using a User object? I currently have since I'm not actually going to change anything about the User object. Should I feed it the User instead and use the relationship for the applicant data? I'm really hoping to avoid going back to the standalone form and wrestling with the validation issues.
0 Replies