react-input-mask icon indicating copy to clipboard operation
react-input-mask copied to clipboard

FEATURE REQUEST : Currency Mask to fill data from right to left

Open SmashedBird opened this issue 7 years ago • 12 comments

When a user enters a currency, The behavior expected is that : When the user taps 1. We should have $0.01 When the user taps 2. We should display $0.12 When the user taps 3. We should display $1.23 When the user taps 4. We should display $12.34 When the user taps 5. We should display $123.45 ...

Instead, I need to define a mask with a fixed amount of character and the input starts with the hundred number instead of pushing from cent to bigger units.

The option Right To Left would be really useful since you don't know if the amount will be $.12 or $1,234.56

SmashedBird avatar Feb 01 '18 20:02 SmashedBird

maybe consider using <input type="number">?

jimmywarting avatar Feb 02 '18 12:02 jimmywarting

Any success using this library with currency? That would be really helpfull

glauberramos avatar Sep 05 '18 18:09 glauberramos

I think this lib doesnt fit this behavior yet. Would helpfull.

gabriel-silveira avatar Mar 22 '19 02:03 gabriel-silveira

I think it would be helpful too! No other lib has this functionality

lucasfalcaoo avatar Jul 08 '19 14:07 lucasfalcaoo

up

annezao avatar Mar 24 '20 17:03 annezao

This would be super useful

Hopp3r avatar Jun 04 '20 06:06 Hopp3r

I agree, this would be super useful

danilodecanini avatar Sep 08 '20 17:09 danilodecanini

up

bonzoSPb avatar Oct 19 '20 18:10 bonzoSPb

Nothing yet?

marcelo-tm avatar Nov 20 '20 13:11 marcelo-tm

Nothing? :(

matheusggds avatar Jun 29 '22 13:06 matheusggds

any updates !!

omarhmitoch avatar Jul 27 '22 09:07 omarhmitoch

Still nothing?

Guilherme-Valle avatar Mar 14 '23 12:03 Guilherme-Valle