GwnMik02
GwnMik02
FFilament
Created by GwnMik02 on 9/6/2023 in #❓┊help
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
FFilament
Created by GwnMik02 on 9/5/2023 in #❓┊help
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
FFilament
Created by GwnMik02 on 8/21/2023 in #❓┊help
When using ->markdown on TextEntry in a infolist white spaces are not rendering
Components\TextEntry::make('description') ->label('Omschrijving')
->markdown()
->columnSpanFull()
Components\TextEntry::make('description') ->label('Omschrijving')
->markdown()
->columnSpanFull()
The following code is not rendering white spaces in the infolist. Is there a solution for this?
12 replies
FFilament
Created by GwnMik02 on 8/15/2023 in #❓┊help
Using enum in infolists
Hey is it possible to use Enums in an infolists to show the label I defined there? Can't find anything about it in the docs.
5 replies
FFilament
Created by GwnMik02 on 8/11/2023 in #❓┊help
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
FFilament
Created by GwnMik02 on 8/8/2023 in #❓┊help
Easy way to update background color of the panel?
Is there an easy way to update the background color of the panel (the gray background)?
6 replies
FFilament
Created by GwnMik02 on 7/28/2023 in #❓┊help
Is it possible to give a linear-gradient to a color option on the panel instance in V3?
->colors([ 'primary' => 'linear-gradient(135deg,#e51f5c,#ab2355)', ]) I am not able to try it yet but just out of curious if it is possible.
5 replies
FFilament
Created by GwnMik02 on 6/28/2023 in #❓┊help
Re-usable matrix fields
Hello, I want to create different matrix items like text with image, single image, title + text on content pages but I don’t have a good approach for this. Does someone have an idea how I should handle this or if there are any plugins for this?
4 replies
FFilament
Created by GwnMik02 on 3/12/2023 in #❓┊help
Remove caption image RichEditor field
2 replies