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 input selector for milestone in DateEditField
Christophe Bliard8b80dc24f0f1
diff --git a/spec/support/edit_fields/date_edit_field.rb b/spec/support/edit_fields/date_edit_field.rbindex ff395de07b4..9cf6dede4f2 100644--- a/spec/support/edit_fields/date_edit_field.rb+++ b/spec/support/edit_fields/date_edit_field.rb@@ -8,7 +8,6 @@ class DateEditField < EditFieldselector: nil,is_milestone: false,is_table: false)-super(context, property_name, selector:)self.milestone = is_milestoneself.is_table = is_table@@ -50,7 +49,9 @@ class DateEditField < EditFielddef property_nameif milestone- "date"+ # when displaying date picker for milestone, only one date is displayed,+ # and the input field name is `start_date`.+ "start_date"elsesuperend