Attached user to a tenant

I have a admin panel, how can I attached the selected company to a user after creating it?
No description
3 Replies
Dimitar Papazov DEV
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')
AngryTestie
AngryTestieOP6mo ago
thanks
Want results from more Discord servers?
Add your server