Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(VDataTable): readd missing hide-default-header / hide-default-footer props #19774

Merged
merged 1 commit into from
May 9, 2024

Conversation

MajesticPotatoe
Copy link
Member

Description

  • Adds back the hide-default-header for v-data-table / v-data-table-server / v-data-table-virtual
  • Adds back the hide-default-footer for v-data-table / v-data-table-server

Markup:

<template>
  <v-data-table
    hide-default-footer
    hide-default-header
    :items="items"
  />
  <v-data-table-server
    hide-default-footer
    hide-default-header
    :items="items"
    items-length="4"
  />
  <v-data-table-virtual
    hide-default-footer
    hide-default-header
    :items="items"
  />
</template>

<script setup>
  const items = [
    { id: 1, value: '1' },
    { id: 2, value: '2' },
    { id: 3, value: '3' },
    { id: 4, value: '4' },
  ]
</script>

@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VDataTable VDatatable labels May 8, 2024
@MajesticPotatoe MajesticPotatoe self-assigned this May 8, 2024
@MajesticPotatoe MajesticPotatoe force-pushed the fix/hide-data-table-defaults branch from b371d2f to e0af113 Compare May 8, 2024 00:23
@MajesticPotatoe MajesticPotatoe requested a review from johnleider May 8, 2024 00:34
@johnleider johnleider added this to the v3.6.x milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable VDatatable T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants