Reputation: 12305
I have a Vaadin 22 application that features a view that has 2 Select
fields next to each other. They belong together (are actually dropdowns for month and year) and they require only a single label, which is longer than the component on the left.
I've tried to put it on the left component but then it gets cut off:
What is the easiest way to accomplish this?
Upvotes: 1
Views: 86
Reputation: 2918
It seems you might want to try the Custom Field component for this.
Another alternative is to customize the CSS a bit:
vaadin-select::part(label) {
overflow: visible;
}
Upvotes: 5