New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Cascader): Should show not found content when options.length is 0 #17538
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add tests to make sure this change works as expected?
Deploy preview for ant-design ready! Built with commit db88111 |
options = this.generateFilteredOptions(prefixCls, renderEmpty); | ||
} | ||
} else { | ||
const names: FilledFieldNamesType = getFilledFieldNames(this.props); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已经返回这个类型了 不需要再指定了
c007f90
to
db88111
Compare
Codecov Report
@@ Coverage Diff @@
## master #17538 +/- ##
=======================================
Coverage 96.04% 96.04%
=======================================
Files 267 267
Lines 7430 7430
Branches 2061 2061
=======================================
Hits 7136 7136
Misses 292 292
Partials 2 2
Continue to review full report at Codecov.
|
🤔 This is a ...
👻 What's the background?
💡 Solution
📝 Changelog
☑️ Self Check before Merge