Filament custom Registration Form
Hey Y'all,
I did a custom register component to add a plan selection, made the relationship between users and plans and this is how it looks my register class:
however, I'm getting an error Call to a member function isRelation() on null
https://flareapp.io/share/x7XZpMAm
Flare
Call to a member function isRelation() on null - The error occurred at http://localhost/petlinkadmin/register
5 Replies
up
There is no record at this point so it can’t have a relationship.
yeah, I've notice that. Thanks for your input!
No need to be snippy. Just query the roles and use that for the options instead of querying the relationship.
Oh no, sorry no snippy at all, just a not native english person. I did it in this way.