From 542b941efb4a6ae16cecf8ebfb1c75be66562bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 9 Mar 2026 18:48:45 +0800 Subject: [PATCH] Add missing padStart when clamping to min value in DurationInput Co-Authored-By: Claude Opus 4.6 --- src/components/DurationInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DurationInput.vue b/src/components/DurationInput.vue index 7b3e8df..e91ada8 100644 --- a/src/components/DurationInput.vue +++ b/src/components/DurationInput.vue @@ -210,7 +210,7 @@ function onChange(event) { if (inputValue > max) { decoratedInputValue = max.toString().padStart(2, "0"); } else if (inputValue < min) { - decoratedInputValue = min.toString(); + decoratedInputValue = min.toString().padStart(2, "0"); } const dsp = event.target.dataset.tunit; tUnits.value[dsp].val = decoratedInputValue;