From 46455531ab70ae9b2d35470b37da16f0295e3637 Mon Sep 17 00:00:00 2001 From: Gabriele Panico Date: Mon, 30 Oct 2023 16:00:54 +0100 Subject: [PATCH] bug-fixed: not sent null text if textarea is null in action-reply image and gallery elements --- .../cds-canvas/base-elements/textarea/textarea.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/base-elements/textarea/textarea.component.ts b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/base-elements/textarea/textarea.component.ts index bdbbf25e..2db52f7c 100644 --- a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/base-elements/textarea/textarea.component.ts +++ b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/base-elements/textarea/textarea.component.ts @@ -21,7 +21,7 @@ export class CDSTextareaComponent implements OnInit { @Input() text: string = ''; @Input() limitCharsText: number = TEXT_CHARS_LIMIT; // @Input() textMessage: string; - @Input() control: FormControl = new FormControl(); + @Input() control: FormControl = new FormControl(''); @Input() showUtils: boolean = true; @Input() emojiPikerBtn: boolean = true; @Input() setAttributeBtn: boolean = true;