GwnMik02
Spatie translatable not working with repeaters
I am using the spatie translatable package where I define relations with repeaters for making steps for a course but when I change one field in the repeater it is not translating that field. How can I fix this or is there any alternative for this?
2 replies
Multi tenancy automatically set tenant id for relationships
Hi, probably I am not doing it correctly but I have setup multi tenancy in my project and saving the primary resource data is setting the tenant_id but when I have repeater field for my relation ship I am getting the following error as it is not automatically setting the tenant id for my relation.
SQLSTATE[HY000]: General error: 1364 Field 'language_id' doesn't have a default value
I have set the scopeTentant and relation on my Question model am I missing something?
2 replies
Select the team model as default when creating a post in multi tenancy?
What is the best way to handle this or is there something for this? On a post I have a team_id but I need to select the team_id when creating a post but I want to have the current tenant selected as default when creating a post.
2 replies