blob: 7f0816c8425e22d6101d66e4c25ce7a0782d47aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package com.vaadin.tests.components.combobox;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.ComboBox;
public class ComboxBoxErrorMessage extends TestBase {
@Override
protected void setup() {
ComboBox cb = new ComboBox("");
cb.setRequired(true);
cb.setRequiredError("You must select something");
addComponent(cb);
}
@Override
protected String getDescription() {
return "The ComboBox should show an \"You must select something\" tooltip when the cursor is hovering it. Both when hovering the textfield and the dropdown button.";
}
@Override
protected Integer getTicketNumber() {
return 3345;
}
}
|