title: How to have input fields validate right away?
body: <p>I have this input:</p>
  <pre><code>            &lt;mat-form-field&gt;
                  &lt;mat-label&gt;Field 1&lt;/mat-label&gt;
                  &lt;input matInput type=&quot;number&quot; min=&quot;0&quot; max=&quot;999.9&quot; required
                  title=&quot;Number between 0 and 999.9&quot;
                  [(ngModel)]=&quot;this.field1&quot;&gt;
              &lt;/mat-form-field&gt;
  </code></pre>
  <p>When it comes up it has the normal blue line underneath it, even though it isn't valid. I would like to have show as invalid right away, even before the user clicks on it or does anything.</p>
  <p>Also it is not in a form.</p>