blob: c7347fe9c54eb7d94630a0119ff269f55072c07a (
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.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.ComboBox;
public class ComboBoxPasteWithDisabled extends AbstractTestUI {
@Override
public String getDescription() {
return "Paste from Clipboard should not open the popup of a disabled ComboBox";
}
@Override
protected Integer getTicketNumber() {
return 7898;
}
@Override
protected void setup(VaadinRequest request) {
ComboBox<String> comboBox = new ComboBox<>();
comboBox.setEnabled(false);
addComponent(comboBox);
}
}
|