multiselect-combo-box-flow icon indicating copy to clipboard operation
multiselect-combo-box-flow copied to clipboard

Item labels not genarated

Open miloszszyrner opened this issue 4 years ago • 5 comments

Steps do reproduce:

  1. Create component with ItemLabelGenerator
  2. Set enabled to false
  3. Trigger somewhere in code to make component enabled and set elements
  4. Try to pick elements on the UI

Result: Elements are loaded without generated labels and cannot be selected

miloszszyrner avatar Oct 06 '20 12:10 miloszszyrner

Same issue happened after upgrading from 2.3.0 to 2.5.0, any workaround?

Screenshot: image

EDIT After tried with fresh install of Vaadin 14, it run nicely and it have same version tho (testing with 2.4.2). Then inspecting the element both and found that the content of vaadin-combo-box-item is different, here the screenshot

Fresh installs of Vaadin 14: image

My application using Vaadin 14: image

The strange thing is both of them are using same data type String and I didn't set labelGenerator on it

DykiSA avatar Oct 26 '20 04:10 DykiSA

Fyi - this issue fixed if using spring boot 2.2.x, in my app I am using spring boot 2.1.0 and for the fresh install above is using spring boot 2.2.0. Also tried to use spring boot 2.1.0 in fresh install but no luck the issue appeared.

I am still stuck with that issue, current workaround is downgrading the multiselect-combo-box-flow to 2.3.0

DykiSA avatar Oct 27 '20 06:10 DykiSA

Also, the same issue that @miloszszyrner mentioned happens if the component is initially not visible - setVisitble(false) - and then make it visible somewhere in the code later on.

syampillai avatar Jan 31 '21 06:01 syampillai

Fyi - this issue fixed if using spring boot 2.2.x, in my app I am using spring boot 2.1.0 and for the fresh install above is using spring boot 2.2.0. Also tried to use spring boot 2.1.0 in fresh install but no luck the issue appeared.

I am still stuck with that issue, current workaround is downgrading the multiselect-combo-box-flow to 2.3.0

I'm on Spring boot 2.2.6.RELEASE and I'm experiencing this issue as well.

martinisraelsen avatar Mar 31 '21 16:03 martinisraelsen

it's been a long time, is there any update on this?

DykiSA avatar May 03 '23 07:05 DykiSA