feat: 是否在选中项后清空搜索框功能
https://github.com/ant-design/ant-design/issues/34978
添加antd的Cascader组件在onSelect后,是否清除searchValue的功能
by:第一次PR,如有问题麻烦指出改正
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/react-component/cascader/2gXaqgHdvt9BsgLgR2T14A9mxPsV
✅ Preview: https://cascader-git-fork-ailoveu-feat-autoclear-9a36ef-react-component.vercel.app
Codecov Report
Merging #271 (b951390) into master (a0efe2e) will increase coverage by
0.00%. The diff coverage is100.00%.
:exclamation: Current head b951390 differs from pull request most recent head 755037e. Consider uploading reports for the commit 755037e to get more accurate results
@@ Coverage Diff @@
## master #271 +/- ##
=======================================
Coverage 99.79% 99.80%
=======================================
Files 15 15
Lines 498 500 +2
Branches 129 131 +2
=======================================
+ Hits 497 499 +2
Misses 1 1
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/Cascader.tsx | 100.00% <100.00%> (ø) |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| cascader | ✅ Ready (Inspect) | Visit Preview | Apr 18, 2022 at 4:58AM (UTC) |
@afc163 请问下这个要更新到antd哪个版本可以支持?