cravemusic
19 Mar 2009, 8:29 AM
To reproduce:
1. Select the word "Value" in the second field.
2. Click and drag the selection to the empty field.
Results:
1. "Empty Text" does not disappear.
2. The dragged in word and the empty text become concatenated -- "Empty TextValue".
3. Firefox only - word color remains light gray.
Expected:
1. Empty text hides/is removed after releasing the mouse to "drop" the dragged in text.
2. Text color is the standard value color, not the empty text color.
Reproducible in Firefox 3, Safari 3, and IE 7.
public void onModuleLoad() {
TextField<String> field = new TextField<String>();
field.setEmptyText("Empty Text");
TextField<String> field2 = new TextField<String>();
field2.setValue("Value");
RootPanel.get().add(field);
RootPanel.get().add(field2);
}
1. Select the word "Value" in the second field.
2. Click and drag the selection to the empty field.
Results:
1. "Empty Text" does not disappear.
2. The dragged in word and the empty text become concatenated -- "Empty TextValue".
3. Firefox only - word color remains light gray.
Expected:
1. Empty text hides/is removed after releasing the mouse to "drop" the dragged in text.
2. Text color is the standard value color, not the empty text color.
Reproducible in Firefox 3, Safari 3, and IE 7.
public void onModuleLoad() {
TextField<String> field = new TextField<String>();
field.setEmptyText("Empty Text");
TextField<String> field2 = new TextField<String>();
field2.setValue("Value");
RootPanel.get().add(field);
RootPanel.get().add(field2);
}