-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Impact: LowSeverity: Majorneeds discussionNo decision yet, discussion neededNo decision yet, discussion neededvaadin-form-layoutworkaroundThere is a workaround in the comments.There is a workaround in the comments.
Description
Description
DateTimePicker set in a FormLayout with labels set to the side doesn't fit the bounds of the form cell.
Possibly related issue: #808
Expected outcome
DateTimePicker should respect the cell boundaries
Minimal reproducible example
public class HelloWorldView extends Div {
public HelloWorldView() {
setSizeFull();
FormLayout formLayout = new FormLayout();
formLayout.addFormItem(new TextField(), "TextField 1");
formLayout.addFormItem(new TextField(), "TextField 2");
formLayout.addFormItem(new DateTimePicker(), "DateTimePicker 1");
formLayout.addFormItem(new DateTimePicker(), "DateTimePicker 2");
add(formLayout);
}
}Steps to reproduce
Open the view. Resizing the browser window should show the broken behavior at certain breakpoints even with the default settings.

Environment
Vaadin version(s): 23.2.8
OS: Windows
Browsers
No response
Metadata
Metadata
Assignees
Labels
Impact: LowSeverity: Majorneeds discussionNo decision yet, discussion neededNo decision yet, discussion neededvaadin-form-layoutworkaroundThere is a workaround in the comments.There is a workaround in the comments.