Hi, how to programatically enable send button on dx-chat component? I need to pre-populate text area with text from typescript code. And then enable the button so user could click and send the pre-populated message.
I managed to input example text like so
TypeScript constructor(private elRef: ElementRef)
{
//omitted code
}
//omitted code
onClick(exampleText){
let chatTextArea = this.elRef.nativeElement.querySelectorAll('.dx-texteditor-input');
chatTextArea[0].innerText = exampleText;
}
But how do I enable the button so user could click send button and send the message?