[NumberInput] Automatic currency formatting
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Summary 💡
A Textfield which will get an number (amount in cents) and the input will format it in dollars or euros or whatever currency, according to the currency or the local given to the Input threw a prop
Examples 🌈
It will do something like this. An npm package do already this but it is no longer maintained. Here is the github repository (https://github.com/unicef/material-ui-currency-textfield)

Motivation 🔦
Currently I am building a admin interface in which i have to edit prices. As usual the API i'm using return to me currecy in cents and i would like to edit the amount in dollars/euro and sumbmit it again in cents to the API
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
The issue names no repository files, tests, or entry points. Start by reviewing the existing Textfield API and the linked material-ui-currency-textfield package, then determine the supported currency and locale behavior. Done should mean an input can display dollars, euros, or another specified currency while accepting cents from and returning cents to an API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100