What happened?
When I am trying to navigate to the create page I am getting the below error.
Access to undeclared static property App\Filament\Resources\CourseResource\Pages\CreateCourseLesson::$relationship
This is the content of my CourseResource\Pages\CreateCourseLesson.php file.
<?php
namespace App\Filament\Resources\CourseResource\Pages;
use App\Filament\Resources\CourseResource;
use Guava\FilamentNestedResources\Concerns\NestedPage;
use Guava\FilamentNestedResources\Pages\CreateRelatedRecord;
class CreateCourseLesson extends CreateRelatedRecord
{
use NestedPage;
protected static string $resource = CourseResource::class;
}
Did I miss something here?
How to reproduce the bug
When creating lesson from the relation page.
Package Version
1.0
PHP Version
8.3
Laravel Version
11
Which operating systems does with happen with?
macOS
Notes
No response