From 3914891ebeda071f6cff7d70682ed9a2fb03d9fb Mon Sep 17 00:00:00 2001 From: Sanket Shah <113279972+Sanket322@users.noreply.github.com> Date: Tue, 28 Oct 2025 17:06:24 +0530 Subject: [PATCH] fix: increase label field length to 255 chars (#34394) * fix: increase label field length to 255 chars Some doc field labels were getting truncated when exceeding 140 characters. This caused issues during customization of complex forms where descriptive labels were required. * fix: increase label field length to 255 chars Some customize form field labels were getting truncated when exceeding 140 characters. This caused issues during customization of complex forms where descriptive labels were required. --- frappe/core/doctype/docfield/docfield.json | 3 ++- .../doctype/customize_form_field/customize_form_field.json | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/frappe/core/doctype/docfield/docfield.json b/frappe/core/doctype/docfield/docfield.json index 3b68df8485..df8e633301 100644 --- a/frappe/core/doctype/docfield/docfield.json +++ b/frappe/core/doctype/docfield/docfield.json @@ -93,6 +93,7 @@ "fieldtype": "Data", "in_list_view": 1, "label": "Label", + "length": 255, "oldfieldname": "label", "oldfieldtype": "Data", "print_width": "163", @@ -622,7 +623,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2025-09-17 13:20:57.852396", + "modified": "2025-10-14 14:22:21.517289", "modified_by": "Administrator", "module": "Core", "name": "DocField", diff --git a/frappe/custom/doctype/customize_form_field/customize_form_field.json b/frappe/custom/doctype/customize_form_field/customize_form_field.json index b6775b22cf..69b22eaf60 100644 --- a/frappe/custom/doctype/customize_form_field/customize_form_field.json +++ b/frappe/custom/doctype/customize_form_field/customize_form_field.json @@ -78,6 +78,7 @@ "fieldtype": "Data", "in_list_view": 1, "label": "Label", + "length": 255, "oldfieldname": "label", "oldfieldtype": "Data", "search_index": 1 @@ -486,18 +487,20 @@ "label": "Placeholder" } ], + "grid_page_length": 50, "idx": 1, "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2024-09-28 20:24:03.278884", + "modified": "2025-10-14 13:56:58.033573", "modified_by": "Administrator", "module": "Custom", "name": "Customize Form Field", "naming_rule": "Random", "owner": "Administrator", "permissions": [], + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "DESC", "states": [] -} \ No newline at end of file +}