- cc.TextFieldTTF does not support neither lowercase letters nor punctuation (!@#).
- Only letters with keyCode < 255 supported (i.e. russian letters do not fit).
[Cocos2d-html5-v2.1 version]
More information and “dirty” solution in my post in other thread:
[[http://www.cocos2d-x.org/boards/19/topics/18569?r=20169#message-20169]]
Yes, this is a bug.
Your solution is a good solution, It does support lowercase letters nor punctuation (!@#) , but still only English language support.
Maybe could find a better solution to support other language.
We will fix this bug soon.
Thanks for your feedback.