ant-design / ant-design/pro-components

ProFormSelect的request中使用节流 数据正常返回 但是下拉框内容没有进行更新

Open
#6,766 8 comments 0 reactions 0 assignees View on GitHub
👏🏻 Welcome pr AI Reply
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

ProFormSelect的request中使用节流 数据正常返回 但是下拉框内容没有进行更新

### 💻 示例代码

![image](https://user-images.githubusercontent.com/93105606/224639877-3ceb35f9-b829-4635-877f-a66dae51bc04.png)
![image](https://user-images.githubusercontent.com/93105606/224640479-71835aae-c7b1-46b7-9c4d-50bf32312390.png)

### 🚑 其他信息
"antd": "^4.8.6",
"@ant-design/pro-form": "^1.3.0",

Contributor guide

Open the contributing guide

Research direction

Start with ProFormSelect's request handling and the throttled example shown in the issue, using the listed antd and @ant-design/pro-form versions. Reproduce the case and trace how returned data reaches the dropdown options. Done means the dropdown updates when the throttled request returns new data.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.