Trasek
Trasek
FFilament
Created by Trasek on 11/29/2024 in #❓┊help
getRawState using at RelationManager?
Ok i found something like that:
$this->mountedTableActionsData[0]
$this->mountedTableActionsData[0]
5 replies
FFilament
Created by Trasek on 11/29/2024 in #❓┊help
getRawState using at RelationManager?
But how then to refer to this form we are in?
5 replies
FFilament
Created by Trasek on 11/29/2024 in #❓┊help
getRawState using at RelationManager?
I think it references the parent relationship, we are in the VIEW element for the element and there we have a “Create” button that creates a modal for creating the relationship.
5 replies
FFilament
Created by Trasek on 11/13/2024 in #❓┊help
Stepsform + action after submit
I don't know where to start,, I'am using:
use CreateRecord\Concerns\HasWizard;

protected function getSteps(): array
{

return [
Step::make('something')
->columns(3)
->schema([
use CreateRecord\Concerns\HasWizard;

protected function getSteps(): array
{

return [
Step::make('something')
->columns(3)
->schema([
4 replies
FFilament
Created by Trasek on 11/13/2024 in #❓┊help
Stepsform + action after submit
Ahh it added button but on upper of site.. I want to display model after "Submit"..
4 replies
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