From 87e1ea9d693c42d143dc95a269a5ee82e85f295c Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Sun, 26 Jan 2025 16:44:42 +0100 Subject: [PATCH] fix input type during a myChoice call --- public/alert.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/alert.js b/public/alert.js index 1a43326..7709b70 100644 --- a/public/alert.js +++ b/public/alert.js @@ -220,6 +220,7 @@ for (const key of options.choices) { [].push.call(alertSelect.options, new Option(key, key)); } + alertInput.type = "text"; alertSelect.value = alertInput.value = defaultValue; divAlertContent.textContent = msg; -- 2.30.2