Skip to content

Commit 5cf049d

Browse files
author
pandamicro
committed
Fix Editbox default input mode issue
1 parent 7d0f69a commit 5cf049d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: extensions/editbox/CCEditBox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ cc.EditBoxDelegate = cc.Class.extend({
208208
cc.EditBox = cc.Node.extend({
209209
_backgroundSprite: null,
210210
_delegate: null,
211-
_editBoxInputMode: cc.EDITBOX_INPUT_MODE_SINGLELINE,
211+
_editBoxInputMode: cc.EDITBOX_INPUT_MODE_ANY,
212212
_editBoxInputFlag: cc.EDITBOX_INPUT_FLAG_SENSITIVE,
213213
_keyboardReturnType: cc.KEYBOARD_RETURNTYPE_DEFAULT,
214214
_maxLength: 50,

0 commit comments

Comments
 (0)