Hi Vaadin Team,
In Vaadin 7, vaadin combobox have property “setBeanIdProperty”. How about in vaadin flow combobox ?
Best Regards,
Reja
Hi Vaadin Team,
In Vaadin 7, vaadin combobox have property “setBeanIdProperty”. How about in vaadin flow combobox ?
Best Regards,
Reja
Hi Reja. Do you mean to replace https://vaadin.com/api/framework/7.7.17/com/vaadin/ui/AbstractSelect.html#setItemCaptionPropertyId-java.lang.Object- ?
Since Vaadin 8 just set the bean getter method reference for the property like comboBox.setItemLabelGenerator(Project::getName);
. This would replace setItemCaptionPropertyId("name");
.
Sorry for my late reply,
thank you for your answer.
Cheers