'Formatting NumberInput with React-Admin: best practices
What is the best way to format numbers on a NumberInput using React Admin?
With the examples on the docs we've tried this:
<NumberInput
source="price"
format={(v: number) => Number(v).toFixed(2)}
/>
It looks nice enough but the editing does not work well. What's the "official" suggestion for this feature? Use a JS library? Some React component? Is there an example somewhere?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
