react-component / react-component/input
handleReset应该将内容重置为undefined而不是空字符串
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44
- Forks
- 56
- Avg merge
- 20h 6m
- Merged PRs (30d)
- 1
Description
在最初没有内容输入时,值为undefined,所以重置后也应该是undefined
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the handleReset entry point and inspect how it derives the value when the input initially has no content. Reproduce the reset behavior with an initially undefined value; done means resetting preserves undefined rather than producing an empty string.
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
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 74/100