Labels are sometimes not shown on vaadin-custom-field that contains my custom lit component

Hello!

My problem is that I can see labels on vaadin-custom-field in one of my formlayouts when I developing, but when I deploy to production server, CustomField labels are missing (I can see that there’s no tag in html). All other fields of FormLayout show labels as expected.

Full description of my question with ts templates is on SO: https://stackoverflow.com/questions/77366196/labels-are-sometimes-not-shown-on-vaadin-custom-field-that-contains-custom-eleme

P.S. I see that there’s an auto-channel for SO questions, but it seems it’s not updating.

Answered in SO