TitanFighter

Results 83 comments of TitanFighter

Would be better to show an example tree of what you mean

Like this https://vue-treeselect.js.org/#flat-mode-and-sort-values ?

When root node is selected, disable the rest -> https://vue-treeselect.js.org/#disable-item-selection

As I understand, `Country (0/3)` is the parent, right? If so, simply change "label" of Country node when you select children.

It is difficult to understand what you need. Try to remove/add needed items directly to `options` inside data().

Probably I understood what you mean. You need to write something like this (this is just to show you an idea, nothing tested): ``` data () { return { value:...

Show your code for example on codesandbox.io

Guys, this package is abandoned - the last update was on Nov 9, 2019.

@DDorj See getter and setter: https://vuejs.org/v2/guide/computed.html#Computed-Setter `get () {}` is the same as `get: function () {}`.

Just add to `options` `Select All` ``` data: { value: [], options: [ { id: 'all', label: 'Select All', }, { id: 'a', label: 'a', }, { id: 'b', label:...