Revision 86f09e7b
Added by Andreas Kohlbecker about 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/TaxonNamePopupEditor.java | ||
---|---|---|
24 | 24 |
import com.vaadin.ui.Alignment; |
25 | 25 |
import com.vaadin.ui.CheckBox; |
26 | 26 |
import com.vaadin.ui.GridLayout; |
27 |
import com.vaadin.ui.ListSelect;
|
|
27 |
import com.vaadin.ui.NativeSelect;
|
|
28 | 28 |
import com.vaadin.ui.TextField; |
29 | 29 |
|
30 | 30 |
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase; |
... | ... | |
110 | 110 |
|
111 | 111 |
private CheckBox orthographicVariantToggle; |
112 | 112 |
|
113 |
private ListSelect rankSelect;
|
|
113 |
private NativeSelect rankSelect;
|
|
114 | 114 |
|
115 | 115 |
private TeamOrPersonField combinationAuthorshipField; |
116 | 116 |
|
... | ... | |
271 | 271 |
|
272 | 272 |
int row = 0; |
273 | 273 |
|
274 |
rankSelect = new ListSelect("Rank");
|
|
274 |
rankSelect = new NativeSelect("Rank");
|
|
275 | 275 |
rankSelect.setNullSelectionAllowed(false); |
276 |
rankSelect.setRows(1); |
|
277 | 276 |
rankSelect.setWidth(100, Unit.PERCENTAGE); |
278 | 277 |
addField(rankSelect, "rank", 0, row, 1, row); |
279 | 278 |
grid.setComponentAlignment(rankSelect, Alignment.TOP_RIGHT); |
... | ... | |
888 | 887 |
* {@inheritDoc} |
889 | 888 |
*/ |
890 | 889 |
@Override |
891 |
public ListSelect getRankSelect() {
|
|
890 |
public NativeSelect getRankSelect() {
|
|
892 | 891 |
return rankSelect; |
893 | 892 |
} |
894 | 893 |
|
Also available in: Unified diff
fix #8184 using NativeSelect instead of ListSelect to avoid circumvent a bug in the ListSelect which affects the Chrome browser