EditBox in single line mode

EditBox in single line mode
0.0 0

#1

If I create a cocos2d::ui::EditBox component to a user inteface and set its input mode to value ui::EditBox::InputMode::SINGLE_LINE as I need only single line inputs in my use case. However, when I press enter a beep sound is played. For me this gives a feeling of an error.

In multiline mode the sound is not played but a separate mouse button click outside the EditBox region is needed to get the entered value accepted in the edit box. This causes extra work for the user.

This happens in Windows project.

Is there any chance to get rid of the beep sound in the single line mode?


#2

This also is related to my issue, I’m trying to get the text entered when the user pressed enter or (submit on ios)!