reset forms on site reload
All checks were successful
deploy / build-and-deploy (push) Successful in 16s
All checks were successful
deploy / build-and-deploy (push) Successful in 16s
This commit is contained in:
@@ -37,6 +37,9 @@ import Input from '@components/input/Input.svelte';
|
||||
const content = document.getElementById('content') as HTMLTextAreaElement;
|
||||
const email = document.getElementById('email') as HTMLInputElement;
|
||||
|
||||
// reset form on site (re-)load
|
||||
form.reset();
|
||||
|
||||
type.addEventListener('change', () => {
|
||||
if (type.value === 'website-feedback') {
|
||||
// content input
|
||||
|
||||
Reference in New Issue
Block a user