Hi,
I have TextField and NativeSelect on UI.
Following is the code for reference:
public class Demo extends UI {
@Override
protected void init(VaadinRequest request) {
VerticalLayout vLayout = new VerticalLayout();
TextField txt = new TextField("Text Field");
NativeSelect select = new NativeSelect("Select Value");
select.addItem("one");
select.addItem("two");
vLayout.addComponent(txt);
vLayout.addComponent(select);
txt.focus();
setContent(vLayout);
}
}
Issue that I face here is:
- Enter some text in textfield
- Select the text with mouse double click
- Now click on NativeSelect and choose any value
- At this point both text in TextField and NativeSelect I highlighted
Expected functinality was that once user clicks on NativeSelect focus sshould move out of TextField and text in TextField should not be highlighted.
Regards,
Kunal Patil
