Skip to content

Commit

Permalink
Fix row action model
Browse files Browse the repository at this point in the history
  • Loading branch information
odiaseo committed Feb 28, 2024
1 parent 107d35d commit 4e76744
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ public function pushField(Field $field): self
*/
public function model(): Model
{
if ($this->model instanceof Actions\Interactor\Form) {
return $this->model->getRow();
}

return $this->model;
}

Expand Down

0 comments on commit 4e76744

Please sign in to comment.