Andrew
Explore posts from serversMissing Required Parameter when Creating a New Record
I have a filament resource that works everywhere except when creating a new entry. If you create and add another it will work. If you just create then I get this error message:
Missing required parameter for [Route: filament.admin2.resources.soft-credits.edit] [URI: admin2/soft-credits/{record}/edit] [Missing parameter: record].
I am thinking this might be because I am using the 'id' field to autoincrement ?
Here's what I have for my actions:
->actions([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make()
->url(function (SoftCredit $record) {
return SoftCreditResource::getUrl('edit', ['record' => $record->id]);
}),
])
Thank you for any help / direction on troubleshooting this!3 replies
CDCloudflare Developers
•Created by Andrew on 12/22/2023 in #pages-help
Custom Domain for Pages Site
15 replies