<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>

<p dir="auto">User can type letter "e" in input type="number" fields and any value containing one or many letters "e" is considered valid. Also, having letters "e" in input breaks pattern validation.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
I assume it is possible to use <em>exponential notation</em> in number inputs, but the value still should be tested as a valid number, and pattern validation still should be applied.</p>

<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>

<p dir="auto"><a href="http://plnkr.co/edit/1aQRuixe6f9bzN0Wf2RU?p=preview" rel="nofollow">http://plnkr.co/edit/1aQRuixe6f9bzN0Wf2RU?p=preview</a></p>
<ol dir="auto">
<li>Try to type "eeeeeeeeee". This is considered a valid number</li>
<li>Try to type "123456". Pattern validation works as intended and the field is invalid</li>
<li>Now add letter 'e' : "123456e". The field is now considered valid</li>
<li>Conclusion: Letter 'e' is not taken in account for number validation and breaks pattern validation.</li>
</ol>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>

<p dir="auto">This is a silent failure in the validation process of number inputs, that currently needs to be manually adressed with input event handlers.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong> Windows 7</p>

<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.0</p>

</li>
<li>
<p dir="auto"><strong>Browser:</strong> Chrome 53</p>

</li>
<li>
<p dir="auto"><strong>Language:</strong> all</p>
</li>
</ul>
<p dir="auto">Data types: email, url, number, date, time, week, month.</p>