this is a part of my code.
<input type="text" v-model="formData.end_date" name="end_date" v-validate="'required'"
v-bind:class="{'input-error' : errors.has('end_date')}">
<span v-show="errors.has('end_date')"
style="position: absolute; font-size: .7em ; margin-right: 1em;color: rgb(214, 48, 49);">{{errors.first('end_date') }}</span>
</div>
how can I add placeholder dynamically when error.has('end_date') return true
I try v-bind: placeholder