diff --git a/cocos2d/core/components/editbox/CCEditBoxImpl.js b/cocos2d/core/components/editbox/CCEditBoxImpl.js index e284de2d69..0d8cb399b9 100644 --- a/cocos2d/core/components/editbox/CCEditBoxImpl.js +++ b/cocos2d/core/components/editbox/CCEditBoxImpl.js @@ -281,10 +281,6 @@ let EditBoxImpl = cc.Class({ } } - if (this._inputFlag === InputFlag.PASSWORD) { - type = 'password'; - } - edTxt.type = type; },