ant-design / ant-design/pro-components
BUG [LightSelect] 当使用分组选项时,这段代码逻辑有问题
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
https://github.com/ant-design/pro-components/blob/68b8afea88aa720fd0a8e83dad1494225527b6fa/packages/field/src/components/Select/LightSelect/index.tsx#L102
可复现连接
[stackblitz](https://stackblitz.com/edit/vitejs-vite-jhoww2?file=src%2FApp.jsx)
Contributor guide
Research direction
Start with packages/field/src/components/Select/LightSelect/index.tsx at line 102 and reproduce the issue using the linked StackBlitz example. Determine the intended behavior for grouped options from the reproduction, then confirm the reported logic problem no longer occurs there.
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
- Needs clarification
- Newbie friendliness
- 35/100