field_format.rb.patch

Pavel Rosick√Ĺ, 2020-10-05 14:22

Download (789 Bytes)

View differences:

trunk/lib/redmine/field_format.rb (working copy)
611 611
        blank_option = ''.html_safe
612 612
        unless custom_value.custom_field.multiple?
613 613
          if custom_value.custom_field.is_required?
614
            unless custom_value.custom_field.default_value.present?
614
            unless custom_value.custom_field.default_value.present? && custom_value.customized.new_record?
615 615
              blank_option = view.content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '')
616 616
            end
617 617
          else