Missing route parameter when editing resource

Hi all! Relatively new to Filament, coming from Nova.
I have a Tenant resource that spits out an error message when I try to edit them (Note, edit. Creation/deletion works fine).
It has 2 inputs, a name (string) and a license_id (select, integer, refers to id on licenses table)

When ever I try to change anything in the resource, be it name or license, then it errors out with the following error message:
Missing required parameter for [Route: filament.resources.tenants.edit] [URI: admin/tenants/{record}/edit] [Missing parameter: record].


Looking through the trace, it seems to come from Livewires SupportBrowserHistory feature> I've Googled around, but all the answers seems to be some of the more "obvious" once (like wrong parameter name in redirect's etc.).
I haven't changed anything in the default Filament routing, and all other resources works correctly, it's only this one.

The primary key type of Tenant is a string, and not and integer
  • I don't know if this is relevant, but it's the only differing factor I can find.
'm happy to supply any code you might want to check through, please let me know.
Was this page helpful?