fix: Reset description and subject fields after submitting feedback
This commit is contained in:
parent
f26d2e1d0b
commit
65aeebd9fa
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ public function submit()
|
|||
send_user_an_email($mail, auth()->user()?->email, 'hi@coollabs.io');
|
||||
}
|
||||
$this->dispatch('success', 'Feedback sent.', 'We will get in touch with you as soon as possible.');
|
||||
$this->reset('description', 'subject');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue