ant-design / ant-design/pro-components
🐛[BUG] ProTable 搜索框中的重置按钮无法初始化远程选项
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
搜索Form中的item为select类型,且选项内容是远程数据时,点击`重置按钮`无法将获取远程数据列表中的第一个设为默认值。目前发现在点击`搜索按钮`后,第一点击`重置按钮`会触发搜索表,第二次再点击`重置按钮`并不会搜索列表
### © 版本信息
- ProComponents 版本: [2.6.49]
- umi 版本[4.1.2]
- 浏览器环境[chrome 121.0.6167.160]
- 开发环境 [ubuntu20.04]
### 🚑 其他信息
Contributor guide
Research direction
Start by reproducing the issue in ProTable with a search-form select whose options come from a remote data source. Check the reset button after searching, including repeated resets, and consider the behavior complete when reset consistently selects the first remote option and triggers the expected search.
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
- 25/100