Commit bb5d68fa authored by Benjamin Parisel's avatar Benjamin Parisel

Revert "fix(Data management) mandatory state is taken into account for date (#2729)"

This reverts commit a9bae6c9
parent 8d4cac64
......@@ -143,8 +143,6 @@ public class ParametrizedWidgetFactory {
datePickerComponent.setPlaceholder(reference.getPlaceholder());
datePickerComponent.setShowToday(reference.getShowToday());
datePickerComponent.setTodayLabel(reference.getTodayLabel());
datePickerComponent.setRequired(input.isMandatory());
setValuableWidgetValue(input, datePickerComponent);
return datePickerComponent;
......@@ -164,8 +162,6 @@ public class ParametrizedWidgetFactory {
dateTimePickerComponent.setShowNow(reference.getShowNow());
dateTimePickerComponent.setShowToday(reference.getShowToday());
dateTimePickerComponent.setInlineInput(reference.getInlineInput());
dateTimePickerComponent.setRequired(input.isMandatory());
setValuableWidgetValue(input, dateTimePickerComponent);
return dateTimePickerComponent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment