ant-design / ant-design/pro-components

BUG [LightSelect] 当使用分组选项时,这段代码逻辑有问题

Open
#8,197 0 comments 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

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.