Expose record after create on relation manager

This commit is contained in:
Dan Harrin
2021-03-25 12:36:07 +00:00
parent 9a96324c07
commit 4ebf198a9d
@@ -41,7 +41,7 @@ class CreateRecord extends Component
$this->callHook('beforeCreate');
$this->owner->{$this->getRelationshipName()}()->create($this->record);
$this->record = $this->owner->{$this->getRelationshipName()}()->create($this->record);
$this->callHook('afterCreate');