I'm new to NGUI, but I'm pretty sure this is a bug and I haven't been able to find any posts that discuss it!
Using the latest version, create a new Input widget. Observing the internal label as maxLines = 1 and having a maxWidth set (mine is 322). The camera's UICamera has "Return" as a valid submit key. I've got a very basic script that just transcribes what's in the input on submit into a secondary label without clearing either. And that's the setup.
void OnSubmit(string text) {
GetComponent<UILabel>().text = text;
}
So how to get it to work. First, typing a short string (like "hi") and hitting enter will work smoothly. It keeps the input as-is and the label gets the proper text. Now, type in a really long string, at least until the textbox start to scroll to keep up. Now hit enter. On my system, the input label actually scrolls down as if anticipating that new line, but it never actually receives it.
Can anybody else get this to happen? Sorry if it's already known!