react-native-currency-input icon indicating copy to clipboard operation
react-native-currency-input copied to clipboard

Is there a way to allow user to type from left to right?

Open chaawlaapooja opened this issue 3 years ago • 3 comments

I am using CurrencyInput and currently, the cursor is at the extreme right (0.00|).

Currently if I want to enter $12, I have to type 1-2-0-0

I have a requirement where I want the user to type from left to right, (|0.00) meaning that user does not enters cents unless he wants to and by typing the 1-2, it should pick up $12.00

Is there a way to achieve this?

chaawlaapooja avatar Sep 24 '21 18:09 chaawlaapooja

@chaawlaapooja there's not. sorry

CaioQuirinoMedeiros avatar Oct 04 '21 01:10 CaioQuirinoMedeiros

I am using CurrencyInput and currently, the cursor is at the extreme right (0.00|).

Currently if I want to enter $12, I have to type 1-2-0-0

I have a requirement where I want the user to type from left to right, (|0.00) meaning that user does not enters cents unless he wants to and by typing the 1-2, it should pick up $12.00

Is there a way to achieve this?

Have you solved this issue ?

Roshankurikkal avatar Jun 21 '22 09:06 Roshankurikkal

i have this issue as well , i want to start typing from left to right when i have decimal but for now its start from right to left start from decimal numbers

please answer to this

thanks very much

Mahdi-Farahani avatar Jan 17 '24 05:01 Mahdi-Farahani