Form after updating stays open
Closed this issue · 1 comments
Mokei-it commented
Form after updating stays open
I may be wrong, but it seems you forgot to close the form after updating the record and flashing the message.
I mean in app\Http\Livewire\model.php
public function update(){
....
session()->flash('message', 'Record Updated Succesfully');
$this->showForm = false;
// I think you should add this line
}`
Thank you!
riteshsingh1 commented
Thanks for noticing, This has been updated.