How to set TextBox Input to numbers only?

Lazy solution:
Use a SpinBox and disable the slider (You also have to disable it in the “Style” tab if you want it to disappear completely):

5 Likes