Negative number in input field?

Is there a way to have a number input field in an app's preferences accept negative numbers? I assume so because I think this is possible in Rule Machine, but it's not working in my user app. Any ideas?

I think it defaults to accepting any positive number (actually thought it would have defaulted to any number, but a quick tests suggests this isn't the case), but you can make negative numbers work by specifying the optional range parameter:

input name: "myInput", type: "number", title: "My Input", description: "Accepts -100 to 200", range: "-100..200"