v-if

Last Updated: August 23, 2021

How you can use the conditional logic inside the Vue template code

<div v-if="obj.date!=value">
     <div class="time_slot">
          <span v-if="value"> {{value}}</span>
          <span v-else><input type="text" /> </span>
     </div>

</div>