From a0a76cf822872ee78e055c8e373d5d3acaceb4a9 Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Thu, 4 Jan 2024 22:18:03 +0100 Subject: [PATCH] HFP-3851 Fix select field validation --- scripts/h5peditor-select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/h5peditor-select.js b/scripts/h5peditor-select.js index 0cd9bf60..4f33a5a3 100644 --- a/scripts/h5peditor-select.js +++ b/scripts/h5peditor-select.js @@ -118,7 +118,7 @@ H5PEditor.widgets.select = H5PEditor.Select = (function (E) { $errors.remove(); } - return value; + return value ?? value === undefined; }; /**