diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 7e2b52c526..4a4410873c 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -598,8 +598,11 @@ var et2_selectbox = et2_inputWidget.extend( if(this.options.empty_label) { this.input.attr("data-placeholder", this.egw().lang(this.options.empty_label)); - // Remove from list of options, if there - this.input.children('[value=""]').remove(); + // Remove from list of options, if there (exception:"select-number" type) + if (this._type !== "select-number") + { + this.input.children('[value=""]').remove(); + } } // Properly size chosen, even if on a hidden tab var size = egw.getHiddenDimensions(this.input);