diff --git a/src/backend/langflow/interface/custom/utils.py b/src/backend/langflow/interface/custom/utils.py index 8511319c8..ce15768e1 100644 --- a/src/backend/langflow/interface/custom/utils.py +++ b/src/backend/langflow/interface/custom/utils.py @@ -132,7 +132,7 @@ def add_new_custom_field( ): # Check field_config if any of the keys are in it # if it is, update the value - display_name = field_config.pop("display_name", field_name) + display_name = field_config.pop("display_name", None) field_type = field_config.pop("field_type", field_type) field_contains_list = "list" in field_type.lower() field_type = process_type(field_type)