I am developing a mobile app that takes numbers from the user. I am wondering how I can make that textinput to take user input(numbers) in an additive manner such that when a user clicks 5 two times the textInput accepts the input as 10 instead of 55
- January 2, 2023
- 211 views
- 0 votes
- 2 Answers
-
2
Answers
I was able to achieve the textinput that I needed. My aim was to use a custom keyboard with buttons 1, 2, 5, 10, 20, 50, 100 and 200 so that when a user clicks 10 and then 5 the textinput displays 15 instead of 105 as a normal keyboard and textinput would behave.
You can try this approach.