-
-
Notifications
You must be signed in to change notification settings - Fork 50.5k
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
feat: Table filterMode and filterSearch functions #31809
Conversation
ef5f232
to
dc97a52
Compare
Codecov Report
@@ Coverage Diff @@
## feature #31809 +/- ##
========================================
Coverage 99.95% 99.96%
========================================
Files 409 410 +1
Lines 7461 7503 +42
Branches 2032 2049 +17
========================================
+ Hits 7458 7500 +42
Misses 3 3
Continue to review full report at Codecov.
|
8b67b86
to
d0655d1
Compare
谁来 review 一下,给个 approve |
提交太多了,没法review😄,直接给 approve? |
是的太多了,我看 |
htmlSize 是解决 Input 最小宽度的问题。不修改的话 Table 筛选菜单里的搜索框最小宽度就太大了。 |
style width minWidth不能用吗? |
rtl 样式有点问题,不过不着急,回头我单改就行 |
@kerm1it 正常,Transfer 的搜索框样式也统一掉了,所有有结构变化。 |
Co-authored-by: Peach <scdzwyxst@gmail.com>
6dae4a7
to
06a6823
Compare
Size Change: +2.23 kB (0%) Total Size: 844 kB
|
筛选菜单重置按钮现在不再关闭菜单和生效。 这个有没有开关 @afc163 |
|
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #30654
💡 Background and solution
Preview url: https://preview-31809-ant-design.surge.sh/components/table-cn/#components-table-demo-filter-in-tree
filterMode: 'tree'
filterSearch: true
📝 Changelog
column.filterMode
to support filter in a tree, which could set to'menu' | 'tree'
.- Table adds
column.filterSearch
for enable search function in filter dropdown.- Table filter reset button won't close dropdown now.
- Tweak Transfer filter search input icon position.
column.filterMode
以支持配置树形筛选菜单,可选值为'menu' | 'tree'
。- Table 新增
column.filterSearch
以支持开启筛选列搜索功能。- Table 筛选菜单重置按钮现在不再关闭菜单和生效。
- 调整 Transfer 筛选搜索框图标位置,使其和表格筛选搜索框统一。
☑️ Self Check before Merge