title: How to allow input number type to have space and comma
body: <p>How can you allow <code>input type="number"</code> to accept something like <code>1, 2, 3, 55</code> rather than just regular <code>number</code> with decimal.</p>
  
  <p>I tried using pattern but it didn't seems to work its magic as its still only accepting number and decimal.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Example:
  &lt;input type="number" pattern="[0-9]+([\.,][0-9]+)?"&gt;
  
  Desired:
  &lt;input type="text" pattern="[0-9]+([\.,][0-9]+)?" value="1, 2, 3, 4"&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <pre><code>&lt;input type="number" pattern="[0-9]+([\.,][0-9]+)?"&gt;
  </code></pre>