fix(trait): method reset() dari WithCloseModal menerima argumen form
This commit is contained in:
parent
58314437d8
commit
80ddbeec8c
@ -10,7 +10,7 @@ public function closeModal(string $modalName, ?bool $isCloseAll = false)
|
|||||||
{
|
{
|
||||||
$this->resetErrorBag();
|
$this->resetErrorBag();
|
||||||
$this->resetValidation();
|
$this->resetValidation();
|
||||||
$this->reset();
|
$this->reset('form');
|
||||||
|
|
||||||
if ($isCloseAll) {
|
if ($isCloseAll) {
|
||||||
Flux::modals()->close();
|
Flux::modals()->close();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user