Aminne
Aminne
FFilament
Created by Aminne on 9/20/2024 in #❓┊help
Writing unit testing using shield plugin filament for role and permissions
Yes, i'm reading it.
11 replies
FFilament
Created by Aminne on 9/20/2024 in #❓┊help
Writing unit testing using shield plugin filament for role and permissions
It works,
beforeEach(function () {
$this->actingAs(loginFilament(), 'web');
});
beforeEach(function () {
$this->actingAs(loginFilament(), 'web');
});
11 replies
FFilament
Created by Aminne on 9/20/2024 in #❓┊help
Writing unit testing using shield plugin filament for role and permissions
aah good, thi's my solution, thank you.
11 replies
FFilament
Created by Aminne on 9/20/2024 in #❓┊help
Writing unit testing using shield plugin filament for role and permissions
11 replies
FFilament
Created by Aminne on 9/20/2024 in #❓┊help
Writing unit testing using shield plugin filament for role and permissions
I have seen your discution , i find the solution, but i have another problem, my default guard is 'api' how i can update the guard 'web' for testing filament, and guard'api' for testing the 'api/' ? how i can switch between them ?
11 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
Thank you for your help.
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
I'm didn't provide all the code.
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
My eager loading is correct ?
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
public function toArray(Request $request): array
{ 'categories'=> $this->categories,
'author' => [
'id' => $this->user->id,
'name' => $this->user->name,
'email' => $this->user->email
] }
public function toArray(Request $request): array
{ 'categories'=> $this->categories,
'author' => [
'id' => $this->user->id,
'name' => $this->user->name,
'email' => $this->user->email
] }
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
public function index(ListPostRequest $request)
{
$validated = $request->validated();
$posts = Post::with(['comments.user', 'categories', 'user'])
->where('status', 'published')->get();
return PostResource::collection($posts);
public function index(ListPostRequest $request)
{
$validated = $request->validated();
$posts = Post::with(['comments.user', 'categories', 'user'])
->where('status', 'published')->get();
return PostResource::collection($posts);
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
I have a quickly question how i use eager loading for avoid N+1 problem this's my code
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
It works with this library, thank you this help so much .
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
okay i understand now, thank you.
20 replies
FFilament
Created by Aminne on 7/20/2024 in #❓┊help
Display language switcher in simple page like a login
i want to add a two factor livewire page in my filament pages, for display the language swticher button and his feature ?
11 replies
FFilament
Created by Aminne on 7/20/2024 in #❓┊help
Display language switcher in simple page like a login
Sir , in this problem how i can resolved it ?
11 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
I use the plugin filament switcher it's useful for this case ?
20 replies
FFilament
Created by Aminne on 7/28/2024 in #❓┊help
How i can translate the validation error message
Thank you so much i will check it.
20 replies
FFilament
Created by Aminne on 7/20/2024 in #❓┊help
Display language switcher in simple page like a login
Route::get('admin/two-factor', TwoFactor::class)->name('two_factor_page')
->middleware(['filament-auth', 'twoFactorFilament']);
Route::get('admin/two-factor', TwoFactor::class)->name('two_factor_page')
->middleware(['filament-auth', 'twoFactorFilament']);
11 replies
FFilament
Created by Aminne on 7/20/2024 in #❓┊help
Display language switcher in simple page like a login
But in two-factor route i can't
11 replies
FFilament
Created by Aminne on 7/20/2024 in #❓┊help
Display language switcher in simple page like a login
No description
11 replies