Skip to content

Commit 4e76744

Browse files
committed
Fix row action model
1 parent 107d35d commit 4e76744

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Form.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ public function pushField(Field $field): self
185185
*/
186186
public function model(): Model
187187
{
188+
if ($this->model instanceof Actions\Interactor\Form) {
189+
return $this->model->getRow();
190+
}
191+
188192
return $this->model;
189193
}
190194

0 commit comments

Comments
 (0)