record in Create Record is null
According to the docs, this should output the record before it gets created, however it shows up null.
Any idea why?
Any idea why?
class CreateTest extends CreateRecord
{
protected static string $resource = TestResource::class;
protected function beforeCreate(): void
{
$record = $this->getRecord();
dd($record);
}
}