You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the prompt used by the CCIMEDispatcher is fixed as:
"please enter your word:"
It would be better if this could be set from the outside as it does with the current input string value. My suggestion would be to change the _focusDomInput method to the following (which allows the delegate to suggest the string:
Then as a default the delegate in the textfield can provide a prompt (and can return the placeholder text). I do not know if this is considered a strong interface that needs to stay compatible with cocos2d-x though. The method added to the textfield would be.
Currently the prompt used by the CCIMEDispatcher is fixed as:
"please enter your word:"
It would be better if this could be set from the outside as it does with the current input string value. My suggestion would be to change the _focusDomInput method to the following (which allows the delegate to suggest the string:
Then as a default the delegate in the textfield can provide a prompt (and can return the placeholder text). I do not know if this is considered a strong interface that needs to stay compatible with cocos2d-x though. The method added to the textfield would be.
The text was updated successfully, but these errors were encountered: