{
+ if (disabled) {
+ setMyValue("");
+ onChange("");
+ }
+ }, [disabled, onChange]);
+ return (
+
+
+
+ {myValue !== "" ? myValue : 'Text empty'}
+
+
+
+
+ );
+}
diff --git a/src/frontend/src/components/textAreaComponent/index.tsx b/src/frontend/src/components/textAreaComponent/index.tsx
index 26fd5bce1..df61e1ae1 100644
--- a/src/frontend/src/components/textAreaComponent/index.tsx
+++ b/src/frontend/src/components/textAreaComponent/index.tsx
@@ -25,7 +25,7 @@ export default function TextAreaComponent({ value, onChange, disabled }:TextArea
>
{myValue !== "" ? myValue : 'Text empty'}
-