vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report][3.6.7] Issue VDateInput | SlotvDataTable-Item.value

Open SamsGuamejy opened this issue 2 years ago • 0 comments

Environment

Vuetify Version: 3.6.7 Vue Version: 3.4.27 Browsers: Firefox 115.0 OS: Windows 10

Steps to reproduce

Create a v-data-table In template on the slot #[item.date], I insert a v-date-input when I connect the v-model with the "item.date", the calendar is hide

Expected Behavior

view the calendar in the menu

Actual Behavior

I can't view the calendar in the menu when I click on the textfield

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

code for VPlay :

<template>
  <v-app>
    <v-container>
      <v-card variant="outlined" height="100%" elevation="2">
        <v-layout ref="refToolbar" style="height: 30px">
          <v-system-bar class="toolbar">
            <v-icon class="me-2" icon="mdi-table-eye"></v-icon>

            <span>Datas</span>
            <v-spacer></v-spacer>

            <v-btn
              size="xx-small"
              class="ms-1"
              icon="mdi-dots-vertical"
              variant="outlined"
            >
            </v-btn>
          </v-system-bar>
        </v-layout>
        <v-data-table
          :headers="headers"
          :items="items"
          items-per-page="-1"
          no-data-text="Veuillez cliquer dans le graph pour voir le détail !"
          sticky
          density="compact"
        >
          <template #[`item.date`]="{item}">
            <v-date-input
              v-model="item.date"
              prepend-icon=""
              variant="solo"
              hide-details
              show-week
            ></v-date-input>
          </template>
          <template #bottom="{}"></template>
        </v-data-table>
      </v-card>
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'

  const msg = ref('Hello World!')
  const headers = ref()
  const items = ref([
    { name: 'Camion 01', value: 10, date: '2024-06-10' },
    { name: 'Camion 02', value: 10, date: '2024-06-10' },
    { name: 'Camion 03', value: 10, date: '2024-06-17' },
    { name: 'Camion 04', value: 10, date: '2024-06-17' },
    { name: 'Camion 05', value: 10, date: '2024-06-24' },
    { name: 'Camion 06', value: 10, date: '2024-06-24' },
    { name: 'Camion 07', value: 10, date: '2024-07-01' },
    { name: 'Camion 08', value: 10, date: '2024-07-01' },
    { name: 'Camion 09', value: 10, date: '2024-07-08' },
    { name: 'Camion 10', value: 10, date: '2024-07-08' },
  ])
</script>

SamsGuamejy avatar May 24 '24 12:05 SamsGuamejy