Attached user to a tenant
I have a admin panel, how can I attached the selected company to a user after creating it?
3 Replies
Can you provide the UserResource code here, so we can see? Basicly you have to have a company relationship in the User model and on the call it like this:
Select::make('company')->relationship('company','name')
thanks