Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked April 2nd 2010 by Marcos Gonçalves
  • 1.1.1
  • bud
  • iphone
  • sdk
  • titanium
0 Comments

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?

    — answered April 2nd 2010 by Bill Dawson
    permalink
    0 Comments
  • what you mean by 'adding new lines'?

    — answered April 2nd 2010 by Peter Lum
    permalink
    0 Comments
  • 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.

    — answered April 2nd 2010 by Marcos Gonçalves
    permalink
    0 Comments
  • Adding new lines: send return key in textArea without lost focus.
    Exemple: insert the html <br /> tag to break line

    — answered April 2nd 2010 by Marcos Gonçalves
    permalink
    0 Comments
  • 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.

    — answered April 4th 2010 by Andrew Henshaw
    permalink
    0 Comments
  • 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!

    — answered April 6th 2010 by Marcos Gonçalves
    permalink
    0 Comments
  • I am using Titanium version 1.2.1, but still having the same problem, Please let me know how can I overcome this?

    — answered December 20th 2010 by Pratik Kagda
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.