TextArea in internet explorer

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

Just to add some information, it seems that the bug was added in the 6.7.1 release as I tried 6.7.0 and I could not reproduce it.

Thanks,

Thomas

Please
file a bug report
with the information in your posts.

You could also give the ticket number here on the forum for reference for anyone finding the forum post in the future.

Thanks Henri!

Bug created.


http://dev.vaadin.com/ticket/9139

Thomas

Hi,

No news about this ?

Thanks!

Thomas

Prioritized this bug. It is pretty annoying …