ware that a string containing a number is not enough. See the <a href="error/ngModel/numfmt"><code>numfmt</code></a>
error docs for more information and an example of how to convert your model if necessary.
</div>

<h2 id="issues-with-html5-constraint-validation">Issues with HTML5 constraint validation</h2>
<p>In browsers that follow the
<a href="https://html.spec.whatwg.org/multipage/forms.html#number-state-%28type=number%29">HTML5 specification</a>,
<code>input[number]</code> does not work as expected wit