title: ngx-mask Do not allow negative value for the currency input
body: <p>I need to block the type of negative value and do not allow to type more numbers than <code>99,999,999.99</code> for my input.</p>
  <p>Here is the code which I am using for the currency input.</p>
  <pre><code>&lt;input mask=&quot;separator.2&quot; thousandSeparator=&quot;,&quot; placeholder=&quot;Currency&quot;&gt;
  </code></pre>
  <p>Any help will be appreciated.</p>
  <p>Also here is the Stackblitz example.</p>
  <p><a href="https://stackblitz.com/edit/ngx-mask-currency-input?file=src/app/app.component.html" rel="nofollow noreferrer">https://stackblitz.com/edit/ngx-mask-currency-input?file=src/app/app.component.html</a></p>
  <p><strong>UPDATE</strong></p>
  <p>I found the answer to the second part of my question.
  now the input looks like this</p>
  <pre><code>&lt;input mask=&quot;separator.2&quot; thousandSeparator=&quot;,&quot; separatorLimit=&quot;10000000&quot;  placeholder=&quot;Currency&quot;&gt;
  </code></pre>
  <p>Now just needs to be blocked the type of <code>-</code> character</p>