Min/max for number inputs not supported?

I have an input field like so <input type="number" uxp-quiet="true" min="1"> and the form should not be able to be submitted if the input < 1.

The official documentation seems to be contradictory on whether or not this is supported, here it says it is supported for number fields (https://adobexdplatform.com/plugin-docs/reference/ui/elements/textfields.html) but here it says only for range type inputs (https://adobexdplatform.com/plugin-docs/reference/uxp/class/HTMLInputElement.html#htmlinputelement-min). I found that it does not seem to work for number inputs, so either the documentation needs to be updated, or if anyone can give me pointers on how to implement correctly that would be great.