Skip to content

Commit 7b14679

Browse files
author
John Wesely
committed
emit form entry on create
1 parent f9ce839 commit 7b14679

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Livewire/FilamentForm/Show.php

+2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ public function create()
115115
);
116116
}
117117

118+
$this->emit('entrySaved', $entryModel);
119+
118120
if ($this->filamentForm->redirect_url) {
119121
return redirect($this->filamentForm->redirect_url);
120122
} else {

0 commit comments

Comments
 (0)