How do you get new lines in the textarea? The user types text, hits the return key and no new line.
I assume this is a bug, although the bug has been marked as fixed.
http://jira.appcelerator.org/browse/TIMOB-470?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel
Tried a number of different SDKs between 2.0 and 2.1.4 on iPhone and iPad, all have the issue.
Is there some hidden setting I am missing?
var win = Ti.UI.createWindow(); var ta = Ti.UI.createTextArea({ left: 20, right: 20, height: 400, // enableReturnKey: true, // returnKeyType: Ti.UI.RETURNKEY_DEFAULT, supressReturn: false, }); win.add(ta); win.open();
1 Answer
Accepted Answer
Check the typo: suppressReturn:false,
Your Answer
Think you can help? Login to answer this question!