Number Input

Hey,
The app Im currently writing is mainly used on a phone for data input.
Since I have 2 number input widgets id like to default the keyboard to the just number version not the one with the letters. Since its a bit annoying to always have to change it.
Is this possible ? I haven’t found anything yet.

Thanks in advance

Hey there, I don’t think that’s possible, keyboards are part of the mobile OS only, It can not be possible to have only a numerical keyboard until and unless OS version allows in someway.

Yes, It is possible with st.number_input(“Label”)
I have used in my projects. Only numerical keyboard opens when I try to enter value in that field.

Perfect, thank you I will try that.

1 Like