grapoza / vue-tree

Tree components for Vue 3
MIT License
101 stars 12 forks source link

how to apply filter from filterMethod? #319

Open amir1704 opened 1 year ago

amir1704 commented 1 year ago

how to apply filter from filterMethod?

grapoza commented 1 year ago

When you set the filterMethod prop on the tree it should run for every node and only show filtered nodes and parents of those nodes.

It looks like I didn't update the documentation correctly when I added filtering, so I've fixed that and I hope that will be helpful.

amir1704 commented 1 year ago

I dig in code and find it how to use but filterMethod does not working for me

amir1704 commented 1 year ago

the filterMethod run but it does not hide false node