Skip to content

Commit 65aeebd

Browse files
committed
fix: Reset description and subject fields after submitting feedback
1 parent f26d2e1 commit 65aeebd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Livewire/Help.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public function submit()
6161
send_user_an_email($mail, auth()->user()?->email, '[email protected]');
6262
}
6363
$this->dispatch('success', 'Feedback sent.', 'We will get in touch with you as soon as possible.');
64+
$this->reset('description', 'subject');
6465
} catch (\Throwable $e) {
6566
return handleError($e, $this);
6667
}

0 commit comments

Comments
 (0)