diff --git a/cocos2d/core/editbox/CCSGEditBox.js b/cocos2d/core/editbox/CCSGEditBox.js index 221aa07e9a..902eaea376 100644 --- a/cocos2d/core/editbox/CCSGEditBox.js +++ b/cocos2d/core/editbox/CCSGEditBox.js @@ -1049,6 +1049,9 @@ _ccsg.EditBox.KeyboardReturnType = KeyboardReturnType; else if (inputFlag === InputFlag.INITIAL_CAPS_SENTENCE) { this._editBox._text = capitalizeFirstLetter(this._editBox._text); } + if (this._edTxt) { + this._edTxt.value = this._editBox._text; + } }; proto._updateLabelStringStyle = function() {