Titanium Community Questions & Answer Archive

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

Text Area throws an exception

I have seen numerous people post that adding a TextArea causes their application to crash.

When I add the lines in this pastebin http://pastebin.com/dh6C2VuU

I am not able to start my application, but when I remove them everything works fine. I pasted this content from an example on the API and it just doesn't appear to work.

Any ideas what is wrong?

— asked September 20th 2010 by Adam Parrish
  • iphone
  • textarea

2 Answers

  • Where did you get these properties?


    I don't see them here… Do you?

    PS - The "Code Example" at the bottom is wrong. Don't use that :P

    Take out those 3 properties and it should work.

    — answered September 20th 2010 by Colton Arabsky
    1 Comment
    • I tried removing those values, no luck.

      I found my example here: http://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/textarea.js

      I also tried the code at the bottom of this documentation page:

      Very bottom under code examples.

      I am using the CI Build of 1.4.1 - should I be using a different build?

      — commented September 20th 2010 by Adam Parrish
  • I have no problems adding text area. I test it on an ipod OS 3.1.3 and and 3GS iSO4.1

    Maybe something not relating to textarea?

    — answered September 21st 2010 by Peter Lum
    1 Comment
    • Odd that everything works fine without this text area. Can you paste me a sample of your text area that you use? With properties?

      — commented September 21st 2010 by Adam Parrish
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.