lundi 10 août 2020

Hide div if value null in vue.js laravel

I want to hide div if value of a variable is null or empty, i'm using following code but if the value is empty or NULL it is still showing the same div using vue.js.

 <p class="user" v-show="Item.date !== 'NULL'"><i class="fa fa-user"></i></p>

Here i'm checking Item.date whether it is null or not.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2FaqvBb
via IFTTT

Aucun commentaire:

Enregistrer un commentaire