0đ
â
You shouldnât manually update the value of the input.
You should add a click listener and change the v-model property
<a @click=âthis.txtInput += â[smiley]ââ
Note: you shouldnât modify the DOM with vanilla JS, but relu on the methods vue exposes.
Source:stackexchange.com