Closed mmfire118 closed 2 years ago
Using this mask for example:
const MASK = [/\d/, /\d/, ".", /\d/, "%"]
with an input of '221' outputs '22.1' NOT '22.1%'
The last character is only added after you input an additional character.
@mmfire118 it's not possible. See if this lib fits your case, it has suffix prop: https://github.com/CaioQuirinoMedeiros/react-native-currency-input
suffix
Using this mask for example:
const MASK = [/\d/, /\d/, ".", /\d/, "%"]
with an input of '221' outputs '22.1' NOT '22.1%'
The last character is only added after you input an additional character.