Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Reset description and subject fields after submitting feedback

Andras Bacsai65aeebd9fab6
diff --git a/app/Livewire/Help.php b/app/Livewire/Help.php
index 68691c1cdc..934e816614 100644
--- a/app/Livewire/Help.php
+++ b/app/Livewire/Help.php
@@ -61,6 +61,7 @@ class Help extends Component
send_user_an_email($mail, auth()->user()?->email, '[email protected]');
}
$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);
}