<How do I set the input type to Integer in jetpack...
# stackoverflow
u
How do I set the input type to Integer in jetpack Compose? How can I make the TextField accepts only Integers as input and how can I limit the digits to 2? I have already set keyboard as below but this allows to input decimals and I need only positive Integers keyboardOptions = KeyboardOptions( keyboardType = KeyboardType.Number )