Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Revert "Switch type of duration field to allow only numbers being entered"

Henriette Dargef4b82e003bbf
diff --git a/frontend/src/app/shared/components/datepicker/multi-date-modal/multi-date.modal.html b/frontend/src/app/shared/components/datepicker/multi-date-modal/multi-date.modal.html
index 72fc2096815..2c8063d2282 100644
--- a/frontend/src/app/shared/components/datepicker/multi-date-modal/multi-date.modal.html
+++ b/frontend/src/app/shared/components/datepicker/multi-date-modal/multi-date.modal.html
@@ -97,7 +97,6 @@
[ngModel]="displayedDuration"
(ngModelChange)="updateDuration($event)"
[disabled]="!isSchedulable"
- [type]="showFieldAsActive('duration') ? 'number' : 'text'"
(focusin)="handleDurationFocusIn()"
(focusout)="handleDurationFocusOut()"
></spot-input-field>