I haven't changed anything in terms of routing (that I know of!). In my
CustomerResource::getPages()
CustomerResource::getPages()
method, I have
'view' => Pages\ViewCustomer::route('/{record}'),
'view' => Pages\ViewCustomer::route('/{record}'),
which is what I had before this broke.
I tried to remove the Repeater section, and I still get this error. What is strange though, is that when I complete the form - both with and without the repeater, the customer is created. But if I fill out the repeater, the Repeater element is NOT created.
Solution
Did ou change something in the
CreateCustomer
CreateCustomer
class?
Could you try this? This should redirect to the index page after creating a record... just to try it
protected function getRedirectUrl(): string{ return $this->getResource()::getUrl('index');}
protected function getRedirectUrl(): string{ return $this->getResource()::getUrl('index');}