bogus
bogus
FFilament
Created by David | Fortune Validator on 9/10/2024 in #❓┊help
Update Edit Modal on Table
@David | Fortune Validator I'm not sure, but maybe this can help https://laraveldaily.com/post/filament-relation-manager-live-update-main-form-after-changes
26 replies
FFilament
Created by Alnuaimi on 7/31/2024 in #❓┊help
very Slow The request is pending
Laravel Sail?
4 replies
FFilament
Created by Blaze on 5/28/2024 in #❓┊help
Form in resource index page
7 replies
FFilament
Created by Max on 5/26/2024 in #❓┊help
Is it possible to form a relation on a SelectColumn?
Forms\Components\Select::make('country_id')->relationship('country', 'title'),
Forms\Components\Select::make('country_id')->relationship('country', 'title'),
6 replies
FFilament
Created by Tommytomtom on 3/18/2024 in #❓┊help
Need advice on how to start big project
Blueprint have some integration with filamentphp? I haven't tried it... but I already want to))
14 replies
FFilament
Created by Tommytomtom on 3/18/2024 in #❓┊help
Need advice on how to start big project
I know about drawsql app With "Export to Laravel Migrations" function https://drawsql.app/docs/export-to-laravel-migrations
14 replies
FFilament
Created by problemli on 3/7/2024 in #❓┊help
translate badge column
enum StatusCode: int implements HasLabel
{
case SUCCESS = 200;

public function getLabel(): ?string
{
return match ($this) {
self::SUCCESS => __('Success')

};
}
}
enum StatusCode: int implements HasLabel
{
case SUCCESS = 200;

public function getLabel(): ?string
{
return match ($this) {
self::SUCCESS => __('Success')

};
}
}
+ use cast for model & status field
3 replies
FFilament
Created by Andrew Wallo on 1/26/2024 in #❓┊help
Question about supported relationship syntax in Filament Forms
For me, it works in this way:
Forms\Components\Group::make()
->relationship('account')
->schema([
Forms\Components\TextInput::make('name')->required(),
]),
Forms\Components\Group::make()
->relationship('account')
->schema([
Forms\Components\TextInput::make('name')->required(),
]),
4 replies
FFilament
Created by Hegabovic on 10/22/2023 in #❓┊help
Is Filament V3 with compatible with tenancyforlaravel https://tenancyforlaravel.com/
For filament v2 and stancl/tenancy found this documentation https://filamentphp.com/docs/2.x/admin/resources/getting-started#stancltenancy
34 replies
FFilament
Created by Hegabovic on 10/22/2023 in #❓┊help
Is Filament V3 with compatible with tenancyforlaravel https://tenancyforlaravel.com/
Hello, The alpha version is the future v4 version, right? does stancl/tenancy "alpha" ( v4 ) work better with filament v3?
34 replies
FFilament
Created by dodecadaedra on 1/13/2024 in #❓┊help
I want to be able to make some minor CSS tweaks (laravel 10/Filament V3)
>>Really I just want to change the width of the main panel at the moment, This can be done without changing styles `php return $panel ->maxContentWidth('full');
12 replies
FFilament
Created by dodecadaedra on 1/13/2024 in #❓┊help
I want to be able to make some minor CSS tweaks (laravel 10/Filament V3)
@dodecadaedra https://filamentphp.com/docs/3.x/support/assets#using-tailwind-css-in-plugins
FilamentAsset::register([
Css::make('custom-stylesheet', __DIR__ . '/../../resources/css/custom.css'),
]);
FilamentAsset::register([
Css::make('custom-stylesheet', __DIR__ . '/../../resources/css/custom.css'),
]);
Now, when the php artisan filament:assets command is run, this CSS file is copied into the /public directory
12 replies
FFilament
Created by CodingAuthority on 12/15/2023 in #❓┊help
BelongsToMany Relationship Cast Problem on Edit Record
Hi, @CodingAuthority have you figured out how to solve this problem? The most interesting thing is that in my case, when writing, cast works, but when reading for editing it does not =/ here not a solution, but an interesting workaround https://www.youtube.com/watch?v=0vhAfwr1WRk
6 replies
FFilament
Created by Pasindu on 1/3/2024 in #❓┊help
Load different data based on the role
@Pasindu check this documentation https://filamentphp.com/docs/3.x/panels/tenancy this is about tenancy but solution with space good enough better will be to do this mo globally.... especially if you have many records
7 replies
FFilament
Created by Alex Maven on 1/5/2024 in #❓┊help
After Successful Queue'ed Job, Trigger Update on Filament Panel Form Field?
>>Is there a way I can update a Filament Form Panel's Field after successfully processing a queue'ed job? yes, stop using Queue'ed Job
13 replies
FFilament
Created by ericmp on 1/4/2024 in #❓┊help
Use nginx on Windows 10/11 for development
Windows will just eat up your time... as for me, it makes no sense .... better to use some Linux ... or even 5$ remote server .. or try this: Docker desktop+ Laravel Sail
12 replies
FFilament
Created by karim charfaoui on 12/24/2023 in #❓┊help
multiple unique column
try this:
//...
->unique('user_job', 'job_id', null, 'id', function ($rule, Forms\Get $get) {
return $rule
->where('date_start',$get('date_start'))
->where('job_id',$get('job_id'))
->where('user_id',$get('user_id'));

}),
// ..
//...
->unique('user_job', 'job_id', null, 'id', function ($rule, Forms\Get $get) {
return $rule
->where('date_start',$get('date_start'))
->where('job_id',$get('job_id'))
->where('user_id',$get('user_id'));

}),
// ..
7 replies
FFilament
Created by Sourabh on 12/18/2023 in #❓┊help
Login Two Pannel Same Browser
@Sourabh use custom guard authentication https://laravel.com/docs/10.x/authentication#adding-custom-guards 1) /config/auth.php
return [
// ....

'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],

'back' => [
'driver' => 'session',
'provider' => 'admins',
],
],


'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
],

'admins' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
// If necessary, a separate model can be used... or even a separate table
//'model' => App\Models\Admin::class,
],

// ....
]
return [
// ....

'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],

'back' => [
'driver' => 'session',
'provider' => 'admins',
],
],


'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
],

'admins' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
// If necessary, a separate model can be used... or even a separate table
//'model' => App\Models\Admin::class,
],

// ....
]
3) And each Filament-panel uses a specific guard for authentication ->authGuard('***')
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->id('admin')
->path('admin')
->authGuard('back') //
// ...
;

}
// ....
}


class UserPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...()
->id('user')
->path('user')
->authGuard('web')
// ...
;

}
// ....
}
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->id('admin')
->path('admin')
->authGuard('back') //
// ...
;

}
// ....
}


class UserPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...()
->id('user')
->path('user')
->authGuard('web')
// ...
;

}
// ....
}
8 replies
FFilament
Created by MarconiMamba on 10/13/2023 in #❓┊help
Admins access all tenants
Hello, @MarconiMamba did you find any solution?
3 replies