How to create an edit page/url without record ID?

I've reviewed the docs multiple times, but I can't seem to find a way to set up this simple feature in filament, where I have a link to an edit form without the record ID in the URL. Example: instead of "users/111/edit" I want to use "/users/edit" or better yet "/users/myprofile" and have the record ID loaded from the current logged in user. I apologize if my question is too basic, but I'm new to filament and laravel. Thank you.
Solution:
Yep. The first one. It's literally a LW component. You can follow the "Form builder" docs on this.
Jump to solution
3 Replies
Dennis Koch
Dennis Koch6mo ago
Edit pages that come with Filament always need a record. You can create a custom page with a form though, instead.
maven333_3
maven333_36mo ago
Thanks, Dennis. By custom page, are you referring to filament page as done by "php artisan make:filament-page Settings" or a regular laravel page outside of filament?
Solution
Dennis Koch
Dennis Koch6mo ago
Yep. The first one. It's literally a LW component. You can follow the "Form builder" docs on this.
Want results from more Discord servers?
Add your server
More Posts