Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 15
Registered: ‎07-26-2012
My Device: Z10/ Playbook 64gb
My Carrier: Tmobile

trouble with form

So i am trying to create a log app using bbui and jquery and local sqllite but i am working on the form itself first. I am having a problem with certain fields which need more than 1 row i believe i am using textarea but these areas are not rendering properly it is coming as small fields but have the right number of rows. i need help in what to do....


Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: trouble with form

bbui has this problem.  Its a styling issue which I hope gets resolved soon.  Every other input has been styled except textarea.


I had a workaround which made it look better but never really tested it properly AND it didn't allow for rows although it had rows.  Are you using bbui 0.9.3?


If you are try this...

Go to line 116 and add textarea on the end. Code should look something like this.

bb.textInput.apply(root.querySelectorAll('input[type=text], [type=password], [type=tel], [type=url], [type=email], [type=number], [type=date], [type=time], [type=datetime], [type=month], [type=datetime-local], [type=color], textarea'));

Haven't tested this on all platforms AND it seems to ignore the rows showing pretty much one line. 

If it helped you, click like. Smiley Happy
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: trouble with form

here is the issue being tracked.



The_Anomaly, have you considered contributing your workaround to the bbUI.js Github project?  You will need to sign a contributor's agreement, and then you can submit a pull request for this change.



Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.