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

remove maxlength for comment field, is validated via rails validation

Klaus Zandersb8344a0618e7
diff --git a/modules/costs/app/components/time_entries/comments_form.rb b/modules/costs/app/components/time_entries/comments_form.rb
index a6cd7abff20..6a6a0afb757 100644
--- a/modules/costs/app/components/time_entries/comments_form.rb
+++ b/modules/costs/app/components/time_entries/comments_form.rb
@@ -31,7 +31,7 @@
module TimeEntries
class CommentsForm < ApplicationForm
form do |f|
- f.text_area name: :comments, label: TimeEntry.human_attribute_name(:comments), maxlength: 1_000
+ f.text_area name: :comments, label: TimeEntry.human_attribute_name(:comments)
end
end
end