bezhanSalleh / filament-language-switch

A versatile and user-friendly plugin designed for Filament Panels.
MIT License
210 stars 45 forks source link

Issue on Filament V3 :( #54

Closed Hamza-Mughales closed 10 months ago

Hamza-Mughales commented 10 months ago

I tried to use this plugin with Filament3 but it did not work! Does it support Filament v3? if not, when it will be support Filament v3

Hamza-Mughales commented 10 months ago

Would you just tell me what is the issue so I can help fix it?

On Mon, Nov 6, 2023 at 1:14 AM Domingo @.***> wrote:

It works on a new installation but not on an existing one.

— Reply to this email directly, view it on GitHub https://github.com/bezhanSalleh/filament-language-switch/issues/54#issuecomment-1793862145, or unsubscribe https://github.com/notifications/unsubscribe-auth/APEXHQIUHLR4XHDDL3MN6SDYDAFUHAVCNFSM6AAAAAA66G5R46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTHA3DEMJUGU . You are receiving this because you authored the thread.Message ID: @.***>

Hamza-Mughales commented 10 months ago

I think I've just solved the issue, which was on the renderHookName. It works well for me now, Please check the pull request I made.

return $panel ->plugins([ FilamentLanguageSwitchPlugin::make() ->renderHookName('panels::global-search.end'), ])