【cocos2d-x 3.14.1 】 cocos2d-js 中 cc.editbox 设置 passworld inputflag 无效

this._box2 = new cc.EditBox(cc.size(130, 50), new cc.Scale9Sprite(“extensions/green_edit.png”));
this._box2.setString(“EditBox Sample”);
this._box2.x = 220;
this._box2.y = 190;
this._box2.setInputFlag(cc.EDITBOX_INPUT_FLAG_PASSWORD);
this._box2.setFontColor(cc.color(255, 250, 0));
this._box2.setPlaceHolder(“please enter password”);
this._box2.setPlaceholderFontColor(cc.color(255, 255, 255));
this._box2.setDelegate(this);
this.addChild(this._box2);
//官方案例:

_box2.setInputMode( cc.EDITBOX_INPUT_MODE_SINGLELINE);:sweat: