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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix showing the clear button only on active
Oliver Günther56925df9adb5
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.htmlindex 2edeabfecd6..f81b9cf065e 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@@ -61,7 +61,7 @@[ngModel]="dates.start"(ngModelChange)="startDateChanged$.next($event)"[disabled]="!isSchedulable"- [showClearButton]="currentlyActivatedDateField === 'end'"+ [showClearButton]="currentlyActivatedDateField === 'start'"(focusin)="setCurrentActivatedField('start')"></spot-text-field></div>@@ -118,6 +118,7 @@[attr.data-qa-highlighted]=" showFieldAsActive('duration') || undefined"[ngClass]="{'op-datepicker-modal--date-field_current' : showFieldAsActive('duration')}"[ngModel]="durationFocused ? duration : displayedDuration"+ [showClearButton]="durationFocused"(ngModelChange)="durationChanges$.next($event)"[disabled]="!isSchedulable"(focusin)="handleDurationFocusIn()"