ant-design / ant-design/pro-components
ProFormSelect doesn't have a loading state
- 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
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