-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.20
Environment
navigator.platform: Win10; navigator.appName: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57; vue: 3.2.0
Reproduction link
Steps to reproduce
- open this link, https://antdv.com/components/tree-select
- input "my leaf" and you'll find the search results are empty
What is expected?
Find "label" instead of "value" in the option.
like this:
What is actually happening?
The default in the options is to find by "value", and this "value" is invisible to the user.
I wanted to change the default setting of "treeNodeFilterProp" from "value" to "label", but it will become a break change and affect the users in use. So I just changed the example document.
this is my pr: #6610
tangjinzhou and waldonUB