<form method="post" action="./">
<input type="number" name="year" maxlength="4" id="frm-form-title" required="" data-nette-rules="[{"op":":filled","msg":"Název: pole je povinné."},{"op":":integer","msg":"Název: hodnota musí být celočíselná."},{"op":":maxLength","msg":"Název: hodnota nesmí mít více než 4 znaků.","arg":4}]">
<input type="submit" name="save" value="Save">
</form>
Version: NetteForms.js 3.3.6
Bug Description
Number input with maxlength validation always fails - even if it is less or the same as the defined maximum.
Steps To Reproduce
Expected Behavior
Form is submitted without JS validation error.
Possible Solution
It works fine with NetteForms.js 3.3.5: