riteshsingh1/livewire-crud

Form after updating stays open

Closed this issue · 1 comments

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!

Thanks for noticing, This has been updated.