ant-design / ant-design/pro-components
🐛[BUG]在ProTable的columns 列中定义了select的防抖不生效
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
在ProTable的列中定义了select的防抖不生效
### 📷 复现步骤
在列的定义中使用了debounceTime, 在fieldProps中也传了 debounceTime, proFieldProps中也传了debounceTime, 但是依然无法防抖
### 🏞 期望结果
### 💻 复现代码
` {
title: ,
dataIndex: "Entity",
valueType: 'select',
request:async ()=> {
return await options.options("NetworkEntityName")
},
debounceTime: 3000,
proFieldProps: {
debounceTime: 3000,
},
fieldProps: {
debounceTime: 3000,
showSearch: true,
mode: "multiple",
},
width: "8%",
},
`
### © 版本信息
- ProComponents 版本: 2.8.6
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
Contributor guide
Research direction
Start by reproducing the provided ProTable column configuration on ProComponents 2.8.6, then trace how debounceTime is handled for the select request, fieldProps, and proFieldProps. Done means the request or select behavior is visibly debounced when debounceTime is set in the reported locations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100