diff --git a/frontend/src/lib/timeline/EventForm.svelte b/frontend/src/lib/timeline/EventForm.svelte index 36184adf..3cce8d3e 100644 --- a/frontend/src/lib/timeline/EventForm.svelte +++ b/frontend/src/lib/timeline/EventForm.svelte @@ -110,15 +110,6 @@ function markDirty() { dirty = true; } -// Guards a submit with a blank title client-side. The server re-validates and -// owns the authoritative fail(400) with per-field flags. -function handleSubmit(e: SubmitEvent) { - titleTouched = true; - if (titleEmpty) { - e.preventDefault(); - } -} - async function confirmDelete(e: SubmitEvent) { e.preventDefault(); const { confirm } = getConfirmService(); @@ -153,8 +144,15 @@ async function confirmDelete(e: SubmitEvent) {