zydnrbrn
zydnrbrn
FFilament
Created by Maxi on 2/12/2025 in #❓┊help
Change tooltip of Chart Widget
i think you just modify the payload data that you put on the chart parameter
17 replies
FFilament
Created by zydnrbrn on 2/9/2025 in #❓┊help
Multiple shield config
//config/filament-shield.php
...
'auth_provider_model' => [
'fqcn' => 'App\\Models\\User',
],
...
//config/filament-shield.php
...
'auth_provider_model' => [
'fqcn' => 'App\\Models\\User',
],
...
im asking about the using multiple config is because i wanna make the filament shield each panel uses different auth_provider_model
10 replies
FFilament
Created by zydnrbrn on 2/9/2025 in #❓┊help
Multiple shield config
thanks a lot for your answer, btw i need to split guards that read or use by filament shield on each panel, like shield on panel 1 can't manage guard that use on panel 2
10 replies
FFilament
Created by arul on 12/19/2024 in #❓┊help
I have projek. In docker domain location exp : https://tas.dev.com/tes2/thismyweb canot open admin
pake web server apa? apakah pake load balancer?
8 replies
FFilament
Created by giro on 12/2/2024 in #❓┊help
Get data from custom form field
thanks sirr i need thissss
11 replies
FFilament
Created by arul on 12/19/2024 in #❓┊help
I have projek. In docker domain location exp : https://tas.dev.com/tes2/thismyweb canot open admin
maksudnya apa bg
8 replies
FFilament
Created by zydnrbrn on 12/19/2024 in #❓┊help
Dynamic badge blade color
No description
7 replies
FFilament
Created by zydnrbrn on 12/19/2024 in #❓┊help
Dynamic badge blade color
No description
7 replies
FFilament
Created by zydnrbrn on 12/19/2024 in #❓┊help
Dynamic badge blade color
No description
7 replies
FFilament
Created by giro on 12/2/2024 in #❓┊help
Get data from custom form field
How can i see detailed docs about this method or related method like this sir?
11 replies
FFilament
Created by md sheik on 12/12/2024 in #❓┊help
Recommendations for Load Testing Tools for Filament Application
When jmeter or gatling has built-in feature that load testing based on HTTP Request, on your case for load testing Login process, we can send form request to the login endpoint, for more detailed technique you can read more on the docs https://gatling.io/blog/gatling-credentials or this articles for jmeter https://webkul.com/blog/load-testing-using-jmeter/
5 replies
FFilament
Created by zydnrbrn on 12/13/2024 in #❓┊help
Adding actions modal on getHeaderActions
Im use ViewRecord, would it be better if i changed it to custom view or custom page?
8 replies
FFilament
Created by zydnrbrn on 12/13/2024 in #❓┊help
Adding actions modal on getHeaderActions
sorry i missed the array for that example 🤣
8 replies
FFilament
Created by zydnrbrn on 12/13/2024 in #❓┊help
Adding actions modal on getHeaderActions
here is error from console
"Could not find Livewire component in DOM tree"
"Could not find Livewire component in DOM tree"
8 replies
FFilament
Created by md sheik on 12/12/2024 in #❓┊help
Recommendations for Load Testing Tools for Filament Application
jmeter and gatling
5 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
yeahh sometime we can't totally implement reusable code on filament... as far as i know, but i think small effort for other necessary actions is doesn't matter to our target features right?
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
No description
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
that working on me, the example code is like this:
public static function getFormBannerSchema(): array
{
return [
Forms\Components\Select::make('parent_id')
->label('Parent Category')
->options(BannerCategory::all()->pluck('name', 'id'))
->searchable()
->nullable()
->columnSpan('full'),

Forms\Components\TextInput::make('name')
->required()
->maxLength(255)
->live(onBlur: true)
->afterStateUpdated(fn(string $operation, $state, Forms\Set $set) => $operation === 'create' ? $set('slug', Str::slug($state)) : null),

Forms\Components\TextInput::make('slug')
->disabled()
->dehydrated()
->required()
->maxLength(255)
->unique(BannerCategory::class, 'slug', ignoreRecord: true),

Forms\Components\MarkdownEditor::make('description')
->columnSpan('full'),

Forms\Components\Toggle::make('is_active')
->default(true),
];
}

public static function form(Form $form): Form
{
return $form
->schema(
self::getFormBannerSchema()
);
}
public static function getFormBannerSchema(): array
{
return [
Forms\Components\Select::make('parent_id')
->label('Parent Category')
->options(BannerCategory::all()->pluck('name', 'id'))
->searchable()
->nullable()
->columnSpan('full'),

Forms\Components\TextInput::make('name')
->required()
->maxLength(255)
->live(onBlur: true)
->afterStateUpdated(fn(string $operation, $state, Forms\Set $set) => $operation === 'create' ? $set('slug', Str::slug($state)) : null),

Forms\Components\TextInput::make('slug')
->disabled()
->dehydrated()
->required()
->maxLength(255)
->unique(BannerCategory::class, 'slug', ignoreRecord: true),

Forms\Components\MarkdownEditor::make('description')
->columnSpan('full'),

Forms\Components\Toggle::make('is_active')
->default(true),
];
}

public static function form(Form $form): Form
{
return $form
->schema(
self::getFormBannerSchema()
);
}
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
but yeah the relationship will working as the Model defined correctly as like the resource
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
has you been try static function for defining the form like this?
public static function getUserSchema(): array
{
return [
Forms\Components\TextInput::make('username)
->required,
];
}
public static function getUserSchema(): array
{
return [
Forms\Components\TextInput::make('username)
->required,
];
}
and then you call that on form() function on the resource and call in the modal form too
19 replies