Closed aquzif closed 9 months ago
i don't know what, but something is not right. here is the repo created just like the steps you outlined and it works as it should. https://github.com/bezhanSalleh/filament-language-switch-test
I compared yours files with mine, there was one thing that changed everything: require filament/filament. I had "3.0-stable", you had "^3.0". Even if i created clean installation, i didnt had latest version of filament. Once i changed this to your version, deleted vendor files, composer lock and redownloaded vendor files, everything started working properly. Thank you for a repository :)
No worries, Cheers!
Hello, When i try to change language, i get "Component not found" error inside dev tools.
Steps to reporduce:
composer create-project laravel/laravel example-app
composer require filament/filament:"^3.0-stable" -W
php artisan filament:install --panels
composer require bezhansalleh/filament-language-switch
Note: To even see language switch, i need to change render hook to
global-search.before
, create resource for User, and addprotected static ?string $recordTitleAttribute = 'email';
Now when I try to change the language I get the error as below