holiber / sl-vue-tree

Customizable draggable tree component for Vue.js
MIT License
344 stars 79 forks source link

Multiselect & Selectable issues. #66

Closed shealavington closed 4 years ago

shealavington commented 4 years ago

When trying to supply the property allowMultiselect it's still allowing multi-selection. Please inform me if I'm using this wrong.

            <sl-vue-tree
                @nodeclick="clickedTreeItem"
                v-model="fileSystem"
                :allowMultiselect="false"
            />

Also, per node, I'm supplying the flag isSelectable: false with the directories, however, it's still allowing selection of directories, does this flag disable the nodeclick event as I expect or again please inform me if I'm using this wrong.

shealavington commented 4 years ago

Okay, the allowMultiselect is because it should be hyphenated, that's my mistake allow-multiselect, though the docs could've shown that.

However, still lost on how the isSelectable should work.

shealavington commented 4 years ago

Unmaintained issue board, I'm clearing out my raised but unfixed/untouched issues. Someone else is free to raise this issue again but as their own, if the issue still persists.