0👍
✅
you can try with
<img src="@/assets/images/layout/topbar/magnifier.svg" height="24" width="24" v-show="InitialLogin == null"/>
<input class="letralogin" :placeholder="InicialLogin" v-model="InitialLogin" v-show="InitialLogin != null">
or
<div v-if="InitialLogin == null">
<img src="@/assets/images/layout/topbar/magnifier.svg" height="24" width="24"/>
</div>
<div v-else>
<input class="letralogin" :placeholder="InicialLogin" v-model="InitialLogin" />
</div>
Source:stackexchange.com