From 4d1e28891fb756ded8b1d4166b37e7b607410217 Mon Sep 17 00:00:00 2001 From: parthy007 Date: Tue, 8 Jul 2025 00:14:43 +0530 Subject: [PATCH] Fix required indicator --- frontend/src/_components/DynamicFormV2.jsx | 1 + frontend/src/components/ui/Input/CommonInput/Index.jsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/_components/DynamicFormV2.jsx b/frontend/src/_components/DynamicFormV2.jsx index ce5de95f21..3ea431b67e 100644 --- a/frontend/src/_components/DynamicFormV2.jsx +++ b/frontend/src/_components/DynamicFormV2.jsx @@ -387,6 +387,7 @@ const DynamicFormV2 = ({ workspaceVariables, workspaceConstants: currentOrgEnvironmentConstants, isEditing: isEditing, + labelDisabled: false, }; } case 'react-component-headers': { diff --git a/frontend/src/components/ui/Input/CommonInput/Index.jsx b/frontend/src/components/ui/Input/CommonInput/Index.jsx index f1aff0a749..c992db5aaa 100644 --- a/frontend/src/components/ui/Input/CommonInput/Index.jsx +++ b/frontend/src/components/ui/Input/CommonInput/Index.jsx @@ -15,6 +15,7 @@ const CommonInput = ({ label, helperText, disabled, required, onChange: change, isDisabled, isEditing, handleEncryptedFieldsToggle, + labelDisabled, } = restProps; const InputComponentType = type === 'number' ? NumberInput : TextInput; @@ -55,7 +56,7 @@ const CommonInput = ({ label, helperText, disabled, required, onChange: change,
{label && (
- +
)} {type === 'password' && (