record in Create Record is null

According to the docs, this should output the record before it gets created, however it shows up null.
class CreateTest extends CreateRecord
{
    protected static string $resource = TestResource::class;

    protected function beforeCreate(): void
    {
        $record = $this->getRecord();
        dd($record);
    }
}

Any idea why?
Was this page helpful?