I have a resource and inside create page I am defining create form action in header actions. But the action does not work for some reason, however the default form action works as expected.
following action does not work:
class CreateCategory extends CreateRecord{ protected static string $resource = CategoryResource::class; protected function getHeaderActions(): array { return [ $this->getCreateFormAction(), ]; }}
class CreateCategory extends CreateRecord{ protected static string $resource = CategoryResource::class; protected function getHeaderActions(): array { return [ $this->getCreateFormAction(), ]; }}
Am i missing something or doing something wrong here?