Open mukherjeesudebi opened 14 hours ago
when selecting from the combo box and switching to next if the network is a little slow then the id of the selected item is visible before the actual value is.
Similar issues:
https://github.com/user-attachments/assets/56ef4a47-799e-4b66-9e18-7490eec65c4a
The id should never be shown.
@Route(value = "grid-pro-custom-editor") public class GridProCustomEditorPage extends Div { public GridProCustomEditorPage() { List<Browser> bowsers = new ArrayList<>(); for (int i = 0; i < 10; i++) { bowsers.add(new Browser("Chrome")); } GridPro<Browser> grid = new GridPro<>(); grid.setEditOnClick(true); grid.setItems(bowsers); ComboBox<String> comboBox = new ComboBox<>(); comboBox.setItems("Chrome", "Edge", "Firefox", "Safari"); grid.addEditColumn(Browser::getName) .custom(comboBox, Browser::setName) .setHeader("Name"); grid.addItemPropertyChangedListener(e -> { add(new Div("Item browser changed : " + e.getItem().getName())); }); add(grid); } public static class Browser { private String name; public Browser(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } } }
Vaadin version(s): 24.4.18
No response
Also referenced here https://github.com/vaadin/web-components/pull/8232#issuecomment-2503274585
Description
when selecting from the combo box and switching to next if the network is a little slow then the id of the selected item is visible before the actual value is.
Similar issues:
https://github.com/user-attachments/assets/56ef4a47-799e-4b66-9e18-7490eec65c4a
Expected outcome
The id should never be shown.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.4.18
Browsers
No response