Titanium SDK 1.1.1 + - BUG
Hi,
I found a bug in Titanium SDK, version 1.1.1 +, that prevents you from adding new lines in textArea.
This problem does not exist in previous versions.
You can check it out just running the KitchenSink textArea in sdk 1.1 version, and then in skd 1.1.1+ version.
7 Answers
-
When you run Titanium Developer, aren't you getting prompted to upgrade to mobile SDK 1.1.2? Do you know if the bug is still there in 1.1.2?
-
what you mean by 'adding new lines'?
-
No, because I've upgraded to version 1.1.2.
And this bug still existing in the 1.1.2, but in previous versions to 1.1.x this bug does not exist. -
Adding new lines: send return key in textArea without lost focus.
Exemple: insert the html <br /> tag to break line -
Having the same problem with 1.1.2.
Its specific to the operation of the textArea field, to work like other apps like mail the return key should really insert a new line into the field but instead it is sending a blur so the keyboard disappears instead as would happen with a regular textField.
There doesnt seem to be a way to let users add a carriage return in a textArea.
-
I found a solution at the last SDK update:
var ta1 = Titanium.UI.createTextArea({
value:'I am a textarea',
height:70,
width:300,
top:20,
suppressReturn:false});
The SECRET IS >>>>> suppressReturn:false
Now let's move on!
-
I am using Titanium version 1.2.1, but still having the same problem, Please let me know how can I overcome this?