diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js index f21508775..5b97e4abb 100644 --- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js +++ b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js @@ -495,7 +495,8 @@ dojo.widget.defineWidget("dojo.widget.ComboBox", dojo.widget.HtmlWidget, {forceV return false; } } - this.selectedResult = [tgt.getAttribute("resultName"), tgt.getAttribute("resultValue")]; + this.textInputNode.value=""; + this.selectedResult = [tgt.getAttribute("resultName"), tgt.getAttribute("resultValue")]; this.setAllValues(tgt.getAttribute("resultName"), tgt.getAttribute("resultValue")); if (!evt.noHide) { this._hideResultList();