Trasek
Trasek
FFilament
Created by Trasek on 8/26/2024 in #❓┊help
Adding a repeater to the record view page. Is it possible?
i've change the save to database action with action "using"
5 replies
FFilament
Created by Trasek on 8/19/2024 in #❓┊help
Filament Shield Languages
it was filament_shield.php but it's need to be filament-shield.php
11 replies
FFilament
Created by Trasek on 8/19/2024 in #❓┊help
Filament Shield Languages
lol the problem is with filename...
11 replies
FFilament
Created by Trasek on 8/19/2024 in #❓┊help
Filament Shield Languages
Translations are available for my language. There is an error with the icon in my language:
Svg by name "filament-shield::filament-shield.nav.role.icon" from set "default" not found.
Svg by name "filament-shield::filament-shield.nav.role.icon" from set "default" not found.
I tried to change the icon in the translation but unfortunately the icon does not change, still the same error. After removing the function in the vendor that handles this icon, the translation does not load. It looks as if they do not load in Polish (pl) from the beginning.
11 replies
FFilament
Created by Trasek on 8/19/2024 in #❓┊help
Filament Shield Languages
I've try to remove function from RoleResource.php to check the error with icon in polish language.
public static function getNavigationIcon(): string
{
return __('filament-shield::filament-shield.nav.role.icon');
}
public static function getNavigationIcon(): string
{
return __('filament-shield::filament-shield.nav.role.icon');
}
But it is unlikely to have an impact for this.
11 replies
FFilament
Created by Trasek on 8/19/2024 in #❓┊help
Filament Shield Languages
i can remove filament-shield folder and publish languages again from lang folder.
11 replies
FFilament
Created by Trasek on 8/19/2024 in #❓┊help
Filament Shield Languages
@Dennis Koch no
11 replies
FFilament
Created by Bryan on 7/29/2024 in #❓┊help
Filament Shield Have a Default Role
Something like that:
protected static function booted(): void
{
static::creating(function (User $user) {
$user->assignRole('user role');
});
}
protected static function booted(): void
{
static::creating(function (User $user) {
$user->assignRole('user role');
});
}
11 replies
FFilament
Created by Trasek on 8/9/2024 in #❓┊help
Hide default action buttons
Thanks @Leandro Ferreira !
11 replies
FFilament
Created by Trasek on 8/9/2024 in #❓┊help
Hide default action buttons
Ok i've got this!
11 replies
FFilament
Created by Trasek on 8/9/2024 in #❓┊help
Hide default action buttons
Maybe I don't fully understand the structure yet but I am quite. new to filament.
11 replies
FFilament
Created by Trasek on 8/9/2024 in #❓┊help
Hide default action buttons
There is information that I need to add a corresponding reference to the model in the page class. But when I have a form prepared in resources, isn't it easier to do? From what I understand I have to prepare a special page for this?
11 replies
FFilament
Created by Trasek on 8/9/2024 in #❓┊help
Hide default action buttons
I don't understand it at the moment, but I will try to do something about it.
11 replies