Closed ManasMadrecha closed 2 years ago
@guopenghui Since you are using Vue, can you use v-model to take the regex string in the Input box and filter the headings using it? A very little VS Code-style button can be added if one wants to enable regex search.
Maybe, you can use filter
prop instead of pattern
in the NTree
component.
Supported in 0.3.0
:
Currently the headings are filterable using fuzzy search, but it would be great if there are options to add more advanced functionality like "Exclude certain headings", e.g.,
!dontsearchthis
or "Exact match", e.g.,=searchthisonly
.Similar to: