widgetti / widgetti/ipyvuetify

disabled parents in treeview will not open

Open
#83 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
355
Forks
61
PR merge metrics
No merged PRs in 30d

Description

When setting a parent to disabled, it will not open or close, seems like an issue here as it works fine in pure vuetify.

import ipyvuetify as v
items = [{
  'id': 1,
  'name': 'Applications :',
  'disabled':False,
  'children': [
    { 'id': 2, 'name': 'Calendar', 'disabled':True },
    { 'id': 3, 'name': 'Chrome' },
    { 'id': 4, 'name': 'Webstorm', 'disabled':True, 'children': [
        { 'id': 5, 'name': 'Test'}]},
  ],
}]

v.Treeview(items=items, selectable=True, item_disabled='disabled', v_model=[2])

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Treeview entry point and reproduce the supplied items configuration with a disabled parent. Compare its open and close behavior with pure Vuetify, then verify that disabled parents still toggle while disabled child selection remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.