From c78a958066ac8d9db52dec5ab6d2a2d254ba3e3c Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Fri, 19 Jan 2024 17:08:28 +0330 Subject: [PATCH] fix edit modal not receving record id after updating another model if a richtext is present --- src/Concerns/HasEditRecordModal.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Concerns/HasEditRecordModal.php b/src/Concerns/HasEditRecordModal.php index 3247e69..91249a1 100644 --- a/src/Concerns/HasEditRecordModal.php +++ b/src/Concerns/HasEditRecordModal.php @@ -38,7 +38,6 @@ public function editModalFormSubmitted(): void { $this->editRecord($this->editModalRecordId, $this->form->getState(), $this->editModalFormState); - $this->editModalRecordId = null; $this->form->fill(); $this->dispatch('close-modal', id: 'kanban--edit-record-modal');