Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

TextField in BlackBerry implementation #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use this code to reproduce the issue
class MainForm extends Form {

        public MainForm() {
            super("test");

            setLayout(new BoxLayout(BoxLayout.Y_AXIS));

            addComponent(new Label("Multi-Line Text"));

            TextArea txt;

            txt = new TextField(15);
                        txt.setRows(5);
                        txt.setSingleLineTextArea(false);
                        txt.setConstraint(TextArea.NON_PREDICTIVE);

                        addComponent(txt);

                        addComponent(new Label("Single-Line Text"));

                        txt = new TextField(15);
                        txt.setConstraint(TextArea.NON_PREDICTIVE);
                        addComponent(txt);

        }
    }

You will not be able to type in the text fields.  Tested with BlackBerry 9300 
OS 6.0 and BlackBerry 8900 OS 5.0.  Same code works fine on Android.

Getting rid of txt.setConstraint(TextArea.NON_PREDICTIVE) fixes the problem.

Original issue reported on code.google.com by gt88...@gmail.com on 21 Jun 2012 at 10:56

GoogleCodeExporter commented 9 years ago
Which device and which input method is causing the issue?
Touchscreen/keyboard or both?

Original comment by shai.almog on 22 Jun 2012 at 4:39

GoogleCodeExporter commented 9 years ago
BlackBerry 9300/8900 (Curve) does not have a touch screen, but only a physical 
QWERTY keyboard.

Original comment by gt88...@gmail.com on 22 Jun 2012 at 4:52

GoogleCodeExporter commented 9 years ago
fixed, thanks

Original comment by cf27...@gmail.com on 16 Jul 2012 at 2:01