I'm using QnAMaker in the back end for my chat bot, which is running in direct line bot channel. In a situation i want to clear the contents in the input field, for that i've used the following simple JavaScript line
document.querySelector("[aria-label='Sendbox']").value ="";
It clears the content at that moment, however it appears again when we click inside the input field to type the next question. Hence the content is actually not cleared.
So suggest me a way with which i should programmatically clear the input field (sendbox) of the chat window permanently.