react-component / react-component/input-number
Allow up/down elements to be removed
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 323
- Forks
- 188
- Avg merge
- 20h 3m
- Merged PRs (30d)
- 1
Description
Hi,
I was wondering if there were any plans to make this component configurable to remove the up/down elements? Maybe by passing 0 to the step prop, or passing a separate prop like hideUpDown?
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 at the number input component and inspect how the existing step prop controls its behavior. Compare the proposed step=0 and hideUpDown options, then identify the component tests covering the up/down elements; done means one documented configuration reliably removes them without breaking normal number input behavior.
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
- 42/100