[Vuejs]-How to place a placeholder text inside the textbox

0👍

Please use v-bind directive to bind the attribute value as you can not use mustaches inside the html attribute.

Please replace your code with below syntax.

<input type="text" :placeholder="placeholder">

Leave a comment