react-component / react-component/cascader

onChange 的第二个参数 selectOptions类型不正确

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
233
Forks
149
Avg merge
10h 23m
Merged PRs (30d)
2

Description

image

多选情况下,返回的是 OptionType[][]

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 at the onChange callback declaration, focusing on its second selectOptions parameter and the multiple-selection path. Confirm that the type represents OptionType[][] when multiple selection is enabled, then run the repository's available type checks or relevant tests. No file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.