Project

General

Profile

Defect #34068 » field_format.rb.patch

Pavel Rosický, 2020-10-05 14:22

View differences:

trunk/lib/redmine/field_format.rb (revision 20121) → 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
(1-1/4)