There is a chat box with bb smileys underneath. Clicking on the smileys adds them to the text in the input box.
However, when using axios to post, the array is empty. Manually entering the smiley bbcode works fine.
<input id="txtName" @keyup.enter="addMessage" v-model="txtInput" type="text" style="width:100%;height:40px;color:#000000;" placeholder="Type here and hit return">
<a style="cursor: pointer;" title="[smiley]" onClick="document.getElementById('txtName').value +='[smiley]'">
<img src="bb/images/smiley.gif"></img>
</a>
axios.post('ajax/post.php',
{ txtInput : this.txtInput }).then(function (response) {
console.log(response);