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; }; /**