diff --git a/app/assets/javascripts/discourse/components/select-box.js.es6 b/app/assets/javascripts/discourse/components/select-box.js.es6 index 8c2cce699b8..9c0f68b21f0 100644 --- a/app/assets/javascripts/discourse/components/select-box.js.es6 +++ b/app/assets/javascripts/discourse/components/select-box.js.es6 @@ -104,6 +104,10 @@ export default Ember.Component.extend({ this.set("filterable", false); } + if (this.get("castInteger")) { + this.set("value", parseInt(this.get("value"), 10)); + } + this.set("headerText", Handlebars.escapeExpression(this.get("headerText"))); this.setProperties({