En-desarrollo #59

Merged
alex merged 12 commits from En-desarrollo into main 2024-10-22 01:01:10 +00:00
Showing only changes of commit 2c30bed91f - Show all commits

View File

@ -91,11 +91,8 @@ public class RequestRegisterView extends VerticalLayout {
endDatePicker.setMin(startDate); endDatePicker.setMin(startDate);
endDatePicker.setMax(endDate); endDatePicker.setMax(endDate);
startDatePicker.clear(); startDatePicker.setValue(startDate);
endDatePicker.clear(); endDatePicker.setValue(startDate.plusDays(vacation.getDuration().intValue() - 1));
getUI().ifPresent(ui -> ui.access(() -> {
startDatePicker.setInitialPosition(startDate);
}));
} }
private void updateDatePickerMinValues() { private void updateDatePickerMinValues() {