Skip to content

[Bug Report][3.10.11] VTreeview can be changed while disabled #22352

@RylanBueckert-Broadsign

Description

Environment

Vuetify Version: 3.10.11
Vue Version: 3.6.0-alpha.4
OS: Windows 10 (current)

Steps to reproduce

  1. Create a selectable VTreeview with nested elements and using a select-strategy that allows parent nodes to be selected (ex: independent)
  2. Disable the treeview
  3. Click the checkbox of a non leaf node

Expected Behavior

Treeview cannot have any nodes toggled when it is disabled

Actual Behavior

Only leaf nodes are properly disabled and parent nodes can still be toggled

Reproduction Link

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

Other comments

Affects all the standard select-strategy options except leaf and single-leaf (since those do not all selecting parent nodes even when not disabled). For the classic select-strategy, it only allows unselecting the parent node, and not re-selecting it

Images

Metadata

Metadata

Assignees

Labels

C: VTreeviewT: bugFunctionality that does not work as intended/expectedT: regressionSomething that used to work but we broke

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions