nafeeur10
1 month ago
272
2
Vue

v-slot:no-data is not showing anything!

Posted 1 month ago by nafeeur10
<template v-if="customers != null && customers.length > 0">
      <v-data-table 
          class="mb-4"
          :headers="customerHeaders"
          :items="customers"
          :items-per-page="15"
          :loading = loader
      >
      <template v-slot:no-data>
          <p>The Table is Empty. Please insert data with the above Button.</p>
      </template>
     </v-data-table>
</template>

While table is empty v-slot:no-data is not showing his message. What is the problem? There is no ERROR!

VUETIFY!

Please sign in or create an account to participate in this conversation.