Project

General

Profile

Patch #43276 ยป fix-plugin-text_area-labels.patch

Go MAEDA, 2026-06-10 10:04

View differences:

lib/redmine/views/labelled_form_builder.rb
23 23
  include Redmine::I18n
24 24

  
25 25
  (field_helpers.map(&:to_s) - %w(radio_button hidden_field fields_for check_box label) +
26
        %w(date_selec)).each do |selector|
26
        # Do not remove text_area; otherwise labels in plugins using text_area
27
        # instead of textarea will disappear.
28
        %w(date_select text_area)).each do |selector|
27 29
    src = <<-END_SRC
28 30
    def #{selector}(field, options = {})
29 31
      label_for_field(field, options) + super(field, options.except(:label)).html_safe
    (1-1/1)