Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
Enter number in reverse order in text field

I have a TextInput in react-native , I want to enter a number in order as 0.00 => 0.01 => 0.12 => 1.23 => 12.34 => 123.45 like this on each change text . CSS Direction "rtl" is not working . Looking for an algorithm to apply in my JS file for react-native textInput on

onChangeText={(amount) => this.onChangeText(amount)}

 onChangeText = (amount) => {
    //. Logic for reverse goes here

    this.setState({
      amount: newAmount,
      amountError: false,
    });
  };
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You will need an input mask. You can write by yourself or implement the npm package react-text-mask into your project. Take the following example, you can twist it to match what you're looking for, which is quite similar.

https://codesandbox.io/s/react-currency-input-with-react-text-mask-4es23?from-embed=&file=/package.json:249-264

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!