Hi!
I’m trying to use a textarea in immediate mode with the required attribute set to true.
In internet explorer (8) any time I press the “enter” key to go to another line it automatically goes back to the first line. For instance I start typing, then I press enter and the field goes back to the first line.
Here is the sample application:
public class TestApplication extends Application {
@Override
public void init() {
Window mainWindow = new Window("Numericwidget Application");
TextArea field = new TextArea();
field.setRequired(true);
field.setImmediate(true);
mainWindow.addComponent(field);
setMainWindow(mainWindow);
}
}
If I remove the “required” attribute then it works. If I remove the “immediate” attribute sometimes it fails and removes the last line of text in the text area.
Do you have an idea of the issue?
I tried with versions from 6.7.3 to 6.8.1 and I always have the same behaviour in IE8. In Chrome and FF no problem.
Thanks,
Thomas