Closed kalmancsaba closed 4 years ago
Seems to be caused by this code https://github.com/vaadin/vaadin-combo-box-flow/blob/4c4f36327929804d43f4309148d40269263a8e4e/vaadin-combo-box-flow/src/main/java/com/vaadin/flow/component/combobox/ComboBox.java#L363-L366 I'll continue the research on Monday
Description
I have a
ComboBox
, that is invisible when attached to the UI, but has a value (aBinder
sets the value from a JPA entity). When some conditions are met, theComboBox
becomes visible. The error occures, when theComboBox
is set visible for the first time (it is initialized on the client side) and the value of theComboBox
was changed at least once while it was still invisible.Vaadin version
I'm using Vaadin 14.1.5
Expected behavior
The value of the
ComboBox
is visible in the browser.Actual behavior
The first time the
ComboBox
is made visible, the client side sets the value to null, and sends this null value to the server. See video below.Code to reproduce