diff --git a/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx
index 9699765b2..a71064ada 100644
--- a/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx
+++ b/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx
@@ -9,6 +9,10 @@ export const StyledTextInput = styled.input`
margin: 0;
${TEXT_INPUT_STYLE}
width: 100%;
+
+ &:disabled {
+ color: ${({ theme }) => theme.font.color.tertiary};
+ }
`;
type TextInputProps = {
@@ -25,6 +29,7 @@ type TextInputProps = {
onChange?: (newText: string) => void;
copyButton?: boolean;
shouldTrim?: boolean;
+ disabled?: boolean;
};
const getValue = (value: string, shouldTrim: boolean) => {
@@ -49,6 +54,7 @@ export const TextInput = ({
onChange,
copyButton = true,
shouldTrim = true,
+ disabled,
}: TextInputProps) => {
const [internalText, setInternalText] = useState(value);
@@ -85,6 +91,7 @@ export const TextInput = ({
onChange={handleChange}
autoFocus={autoFocus}
value={internalText}
+ disabled={disabled}
/>
{copyButton && (
diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormCreateRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormCreateRecord.tsx
index 032f97ef5..57fc828a4 100644
--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormCreateRecord.tsx
+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormCreateRecord.tsx
@@ -215,6 +215,7 @@ export const WorkflowEditActionFormCreateRecord = ({
handleFieldChange(field.metadata.fieldName, value);
}}
VariablePicker={WorkflowVariablePicker}
+ readonly={isFormDisabled}
/>
);
})}
diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormUpdateRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormUpdateRecord.tsx
index 49c494d80..eb079c636 100644
--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormUpdateRecord.tsx
+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionFormUpdateRecord.tsx
@@ -248,6 +248,7 @@ export const WorkflowEditActionFormUpdateRecord = ({
handleFieldChange(fieldDefinition.metadata.fieldName, value);
}}
VariablePicker={WorkflowVariablePicker}
+ readonly={isFormDisabled}
/>
);
})}