Set input value by VueJS and mixing the content of value

Viewed 40138

I try this:

<input type="text"
    name="username"
    v-model="user.name"
    :value="'The user name is: '+user.name">

Is possible somehow to show in the input filed is "The user name is: John Doe" ?

Or I need definitely use a computed value in this case?

2 Answers
Related