When using a Vaadin 10/Flow combobox with a Binder, it does not initialise to the value, provided by the bean, when it’s read.
binder.readBean(timesheet);
I had to add a TemplateModel setter, then use it to pass the initial value to the combo-box:
getModel().setConsultant(timesheet.getConsultant().getName());
<vaadin-combo-box label="Resource" id="resource" value="[[consultant]
]"> </vaadin-combo-box>
Is this the correct way of doing this? I presumed only having a binder was necessary. It becomes cumbersome when you have many combo-boxes.