ant-design / ant-design/pro-components

ProFormSelect doesn't have a loading state

Open
#8,465 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### Steps to reproduce

({
value: item.id,
label: item.description,
}))}
/>

### What is expected?

to have a loading state

### What is actually happening?

not having a loading state

| Environment | Info |
| --- | --- |
| antd | 5.17.4 |
| React | 18.2.0 |
| System | MacOs |
| Browser | Chrome, Arc |

PS: I figure out that it's missing a lot of things from the normal select, such as `labelInValue` and others, what's the purpose of ProFormSelect over a normal Select then? how can I use a select in a `StepsForm.StepForm`

Contributor guide

Open the contributing guide

Research direction

Start at the ProFormSelect entry point and reproduce the loading prop behavior using the issue's example. Compare its supported props with the normal Select and consider the StepsForm.StepForm usage mentioned in the report. Done means ProFormSelect visibly handles loading and the relevant behavior is covered by an appropriate test.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.