primereact
primereact copied to clipboard
InputNumber: RTL support
Hi, I didn't see anything on the documentation about reversing the order of the component to start filling from right to left, so I'm leaving it here: In some countries, like Brazil, currency is typically filled from right to left, so is there a way to accomplish this or it would be a new feature? Thanks!
I need this !
Hi,
For Brazil locale, I'm not sure what the correct behavior of inputNumber should be. An example would be good for me to implement it. Note: InputNumber component uses Intl.NumberFormat API; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
Is this related to the initial cursor position?
Hello there! Thanks for the answer and sorry for the delay 😅. I have here some working sample using another lib. Try the Money input to see the behavior we usually expect. This other lib also uses Intl.NumberFormat.