fix: Cascader search bug when fieldNames existed#20720
Merged
Merged
Conversation
and label/value have same field name close #20619
|
Deploy preview for ant-design ready! Built with commit 861f65d |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 861f65d:
|
Codecov Report
@@ Coverage Diff @@
## master #20720 +/- ##
=======================================
Coverage 97.47% 97.47%
=======================================
Files 296 296
Lines 6863 6863
Branches 1905 1905
=======================================
Hits 6690 6690
Misses 173 173
Continue to review full report at Codecov.
|
afc163
added a commit
that referenced
this pull request
Jan 8, 2020
and label/value have same field name close #20619
|
@afc163 这个问题在官方4.4.2文档示例中还是存在,我没弄明白哪个版本是正常的。。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 This is a ...
🔗 Related issue link
close #20619
💡 Background and solution
when label/value have same field name.
📝 Changelog
fieldNamesis existed and label/value share same name.fieldNames中label和value共用一个值时搜索功能失效的问题。☑️ Self Check before Merge