From 5a480c44c3a9054ad74c1556991ce8cb800bad65 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 28 Jan 2025 23:54:42 -0300 Subject: [PATCH] feat: Data field required in UpdateDataComponent (#5962) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✨ (update_data.py): add 'required' attribute to the 'data' input field to enforce its presence for updating records * ✨ (NodeStatus/index.tsx): add padding right to the container div to improve spacing and alignment of the icon within the component * ✨ (NodeStatus/index.tsx): remove unnecessary padding class to improve UI design and layout --- src/backend/base/langflow/components/processing/update_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/base/langflow/components/processing/update_data.py b/src/backend/base/langflow/components/processing/update_data.py index 606c1cfe4..11ced9168 100644 --- a/src/backend/base/langflow/components/processing/update_data.py +++ b/src/backend/base/langflow/components/processing/update_data.py @@ -27,6 +27,7 @@ class UpdateDataComponent(Component): display_name="Data", info="The record to update.", is_list=True, # Changed to True to handle list of Data objects + required=True, ), IntInput( name="number_of_fields",