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(VTreeview): allow expanding disabled nodes #21116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oumoussa98
Copy link
Member

fixes #21075

Description

Markup:

<template>
  <v-app>
    <v-container>
      <v-treeview :items="items" selectable />
    </v-container>
  </v-app>
</template>

<script setup>
import { ref } from "vue";

const items = [
  {
    id: 1,
    title: "Files :",
    props: { disabled: false },
    children: [
      { id: 2, title: "Calendar : app" },
      { id: 3, title: "Chrome : app", props: { disabled: true } },
      { id: 4, title: "Webstorm : app" },
    ],
  },
  {
    id: 5,
    title: "Applications :",
    props: { disabled: true },
    children: [
      { id: 6, title: "Calendar : app" },
      { id: 7, title: "Chrome : app", props: { disabled: true } },
      { id: 8, title: "Webstorm : app" },
    ],
  },
];
</script>

@oumoussa98 oumoussa98 requested a review from a team March 17, 2025 22:13
@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VTreeview labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTreeview T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.7.15] VTreeviewItem disabled prop prevents expanding children
2 participants