On ix 3.0.0, given an ix-number-input similar to:
<ix-number-input
showStepperButtons
allowedCharactersPattern="[0-9]"
min="0"
max="9999"/>
As a user, I am able to enter the literal 99999
, and the number input allows this value, instead of the expected behavior of preventing the final 9
from being entered into the input. The maxLength
attribute doesn’t seem to prevent this state from being reached either.
Is this expected behavior? If it is, are there workarounds to prevent users from typing in values outside the allowed range?