I am trying to insert messages into the comment threads component using javascript event handlers but I can't seem to get it to work. Attached are screenshots of the attempted methods. When using an event handler at the end of a query, I can interact with the comment thread component using the set value method but not the submit comment method.
1 Like
Hi there @Ethan_Lai,
I'm not sure I understand the issue you're facing. I just tried both sendMessage and setValue methods and they work properly, see below:
sendMessage:
setValue:
1 Like