You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Durig inital setup, the plug in doesn't appear in the main sidebar menu. When I added the menu item option, it returns this eror: Route [filament.workout-planner.pages.edit-profile-page] not defined.
How to reproduce the bug
Install the plugin via: composer require joaopaulolndev/filament-edit-profile.
Add in the plugin to the Panel Provider: use Joaopaulolndev\FilamentEditProfile\FilamentEditProfilePlugin;
....
->plugins([
FilamentEditProfilePlugin::make()
])
.....
Add in the user menu to the Panel Provider:
->userMenuItems([
'profile' => MenuItem::make()
->label(fn() => auth()->user()->name)
->url(fn (): string => EditProfilePage::getUrl())
->icon('heroicon-m-user-circle')
//If you are using tenancy need to check with the visible method where ->company() is the relation between the user and //tenancy model as you called
//->visible(function (): bool {
// return auth()->user()->company()->exists();
//}),
])
Package Version
1.0.33
PHP Version
8.2
Laravel Version
11.31
Which operating systems does with happen with?
Windows
Notes
Filament 3.2. Publishing the views had no effect.
The text was updated successfully, but these errors were encountered:
What happened?
Durig inital setup, the plug in doesn't appear in the main sidebar menu. When I added the menu item option, it returns this eror: Route [filament.workout-planner.pages.edit-profile-page] not defined.
How to reproduce the bug
Install the plugin via: composer require joaopaulolndev/filament-edit-profile.
Add in the plugin to the Panel Provider: use Joaopaulolndev\FilamentEditProfile\FilamentEditProfilePlugin;
....
->plugins([
FilamentEditProfilePlugin::make()
])
.....
Add in the user menu to the Panel Provider:
->userMenuItems([
'profile' => MenuItem::make()
->label(fn() => auth()->user()->name)
->url(fn (): string => EditProfilePage::getUrl())
->icon('heroicon-m-user-circle')
//If you are using tenancy need to check with the visible method where ->company() is the relation between the user and //tenancy model as you called
//->visible(function (): bool {
// return auth()->user()->company()->exists();
//}),
])
Package Version
1.0.33
PHP Version
8.2
Laravel Version
11.31
Which operating systems does with happen with?
Windows
Notes
Filament 3.2. Publishing the views had no effect.
The text was updated successfully, but these errors were encountered: