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

Children Checkbox is not showing checked until it is hovered #129

Open
abyss1141 opened this issue Oct 11, 2022 · 1 comment
Open

Children Checkbox is not showing checked until it is hovered #129

abyss1141 opened this issue Oct 11, 2022 · 1 comment

Comments

@abyss1141
Copy link

I have a problem whereby when I click on the parent of the tree, the child checkbox is not checked until I hover over it. I've checked using the Vue tools and the data of the tree is selected but it doesn't show on the tree until it is hovered.

Below is the code i use

            <div class="dropdowntree">
              <v-jstree
                show-checkbox
                multiple
                :data="meterList"
                allow-batch
                whole-row
                :key="componentKey"
                ref="tree"
              >
                <template slot-scope="_">
                  <div style="display: inherit; width: 200px">
                    {{ _.model.text }}
                  </div>
                </template>
              </v-jstree>
            </div>``
@abyss1141
Copy link
Author

Ive checked with vue tools on chrome and here is the data that i get:

This is the working one:

addAfter:function (e,A)
addBefore:function (e,A)
addChild:function (e)
children:Array[8]
closeChildren:function ()
disabled:false
icon:""
id:160
loading:false
openChildren:function ()
opened:true
paramId:1
paramParentId:null
selected:false
text:"ALL"
value:"ALL"

And this is the one with problem. Somehow it doesnt include all the other properties

children:Array[4]
opened:true
paramId:2
paramParentId:1
text:"Block A"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant