react-component / react-component/select

想要在多选下显示输入框的icon

Open
#345 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

https://github.com/react-component/select/blob/ad701b2bb9776265acf9a75a7c92d7a5c5baf8b8/src/Select.jsx#L1406

这里直接判断了mode是不是 'multiple' | 'tags' ,这边增加一个类似 forceShowArrow 的属性可以吗?

related: https://github.com/ant-design/ant-design/issues/12250

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/Select.jsx around line 1406 and inspect how the current mode check controls the input icon. Read the related ant-design issue for the expected behavior and API context. Done means multiple and tags modes can show the input icon when the new option is enabled, without changing existing behavior by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.