Need a code that only accepts numbers. Upon inputting, the code must check if it is number, if not, it must remove the entered key or not enter it at all
look at the restrict property on the TextInput class. Set it to "0-9"