TextArea dont accepts new lines in edit mode
Hi,
Maybe it's happens only with me, but, I cant add new line in TextArea using return, this just trigger blur event.
Exemple: the textArea exemple in KitchenSink happens the same.
Some one know how to resolve that or just why this could be trigged?
PS: Im using the latest version of titaniumm sdk
2 Answers
-
I am having this issue too and would LOVE to find the answer
-
Note: This is to respond to Matt's comment, and subsequent post. Please excuse the double post.
Matt
The answer you marked as correct in this post is wrong, at least partly.
Certainly on android, the default behaviour is for a new line to be created when the user presses the return key. Hence, suppressReturn:false is the default. Obviously, if you want to prevent new lines, then you would need to use suppressReturn:true.
Please also note related bug, #2498
I post this here for anyone else who needs it.