Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item labels not genarated #71

Open
miloszszyrner opened this issue Oct 6, 2020 · 5 comments
Open

Item labels not genarated #71

miloszszyrner opened this issue Oct 6, 2020 · 5 comments

Comments

@miloszszyrner
Copy link

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

@gatanaso gatanaso transferred this issue from gatanaso/multiselect-combo-box Oct 6, 2020
@DykiSA
Copy link

DykiSA commented Oct 26, 2020

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
Copy link

DykiSA commented Oct 27, 2020

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

@syampillai
Copy link

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.

@martinisraelsen
Copy link

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.

@DykiSA
Copy link

DykiSA commented May 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants