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:Jump to solution
Yep. The first one. It's literally a LW component. You can follow the "Form builder" docs on this.
3 Replies
Edit pages that come with Filament always need a record. You can create a custom page with a form though, instead.
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
Yep. The first one. It's literally a LW component. You can follow the "Form builder" docs on this.