How to get panel id name?

How do I get it in the middle of a form or table or wherever? I mean the example.com/>>>adminaltered<<</ part for your admin/panel. I want to change it dynamically and not hardcode it in the prefix in the textfield. That's why I am asking.
Solution:
filament()->getCurrentPanel() ?...
Jump to solution
2 Replies
Solution
LeandroFerreira
LeandroFerreira3mo ago
filament()->getCurrentPanel() ?
Wirkhof
Wirkhof3mo ago
Thanks, you pointed me in the right direction. This worked: filament()->getCurrentPanel()->getId()
Want results from more Discord servers?
Add your server
More Posts