title: Min and max directives not working as expected in Angular 6
body: <p>Greetings developers around of the world,</p>
  
  <p>I am trying to deeply understand how to use the "min" and "max" directives in Angular 6, I am aware of the unsupported functionality changes before the Angular 2 version, but now I am using the version 6, so it is supposed to not cause trouble.</p>
  
  <p>However, I was expecting, with the "max" validator, stopping the user of typing more than 9999, Instead of this behaviour, I am only triggering the Validator but not stoping the user, allowing them to type infinite numbers.</p>
  
  <p>How can I achieve this classical "maxlength" behaviour but with an input of type number?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I am using PrimeNG components</p>
  
  <pre><code>&lt;input class="ss" type="text" [formControl]="numPolizaCtrl" [(ngModel)]="conceptoForm.numPoliza" pInputText pKeyFilter="pint" placeholder="Nº póliza"&gt;
  
  &lt;label *ngIf="numPolizaCtrl.invalid" [ngClass] = "'error'" &gt; Too much numbers. &lt;/label&gt;
  
  numPolizaCtrl = new FormControl("", [Validators.max(9999999999), Validators.min(0)]);
  </code></pre>
  
  <p>I want to stop the user of typing more than "x" number of characters, the same behaviour as the maxLength directive but using an input of type "number".</p>
  
  <p>Thank you all.</p>