From 59644414f5b4f001736e8efcb423e19753376e00 Mon Sep 17 00:00:00 2001 From: davegilligan Date: Wed, 13 May 2026 19:19:30 +0200 Subject: [PATCH] Fix transcribe form blocked by required textarea validation The hidden textarea still had required=true, so browser-native form validation silently blocked submit when no audio was the only input. Co-Authored-By: Claude Sonnet 4.6 --- assets/js/tools.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/tools.js b/assets/js/tools.js index 50f08e2..5909c68 100644 --- a/assets/js/tools.js +++ b/assets/js/tools.js @@ -164,6 +164,7 @@ function setTool(toolName) { els.transcribeLangControl.classList.toggle('is-hidden', toolName !== 'transcribe'); els.input.classList.toggle('is-hidden', toolName === 'transcribe'); els.inputLabel.classList.toggle('is-hidden', toolName === 'transcribe'); + els.input.required = toolName !== 'transcribe'; resetUpload(); resetAliases(); resetAudio();