How to Input password in cocos2dx

as the examples in cocos2dx. textInput can issue a full screen dialogue to input the text and password visible. how could we input directly in CCTextFiled and protected the password?