Creating an EditProfile and ChangePassword page in filamentphp and using this page in all panels (admin, user, ...) #13058
-
PackagePanel builder Package Versionv3 How can we help you?I want to use an editProfile and ... page for all panels, but when creating the page, the type of panel must be specified. Which panel would you like to create this in? [user] If the admin panel is selected when creating the page, when adding the following code to the user panel:
I get the following error.
If I define the path of the view in the routes like below
When I click on the edite profile item the website, I get the following error
Is there a solution that uses one page or should I create a separate page for each panel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you are using V3, you can use the profile page in both panels. Just add $panel
->profile() |
Beta Was this translation helpful? Give feedback.
If you are using V3, you can use the profile page in both panels. Just add
profile()
method in the providers