Use the following code to create a basic inputEx IntegerField.
Test IntegerField with more options.
Set the negative attribute to true if you allow negative values.
Check values are within a range