fix(trait): method reset() dari WithCloseModal menerima argumen form

This commit is contained in:
Yoga Pangestu 2025-10-06 19:12:26 +07:00
parent 58314437d8
commit 80ddbeec8c

View File

@ -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();