[docs][number field] Number input field precision and decimal step
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Related page
https://mui.com/material-ui/react-number-field/
Kind of issue
Missing information
Issue description
I would love for the demo page here to include an example of having custom decimal precision and decimal step (e.g. a step of 0.25) https://mui.com/material-ui/react-number-field/.
I know @siriwatknp once made it in https://mui-plus.dev/primitive (now closed), so I am guessing it is just a matter of documenting how to?
Right now it seems that the precision defaults to 3 decimal points and if you type in anymore it just truncates the remaining.
Context
Hmm well I just want to control decimal points better :D
Search keywords: Number input field, decimal number input field
Contributor guide
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 with the related Number Field page and review its existing demos and guidance for precision and step behavior. Add a documented example showing custom decimal precision and a decimal step such as 0.25; the page should make the configuration and resulting behavior clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100