I want to use custom filterTreeNode function which in my case filters nodes based on title and regardless locale letters (it's exact extension of default filtering based on title). The problem is that I am not able to emphasize matching nodes.
Here is my example: https://codesandbox.io/s/tree-select-custom-filtertreenode-8zxgy
Pay attention that I'm using treeNodeFilterProp="title" to gain some desired user experience, but it's not enough in my case.
When I'm typing "aaa" my nodes are filtering properly and the "aaaą" node is emphasized (due to treeNodeFiltersProp).
But when I'm writing "aaaa" my node is still showing up but is not emphasized, which is not exactly what I wanted.
So how to do this?
problem seams to be in
as it overrides the filterTreeNode function this is why it isn't bold.
For option filtering the given function is used, this is why it is showing: