title: md-autocomplete in angular material - how to keep the class "md-not-found"
body: <p>The md-autocomplete provides a class named md-not-found in the md-virtual-repeat-container when you are trying to search for an element that does not exist in the dropdown, displaying an error message underneath. When you remove focus from the input element, the md-not-found is removed. The autocomplete therefore gives a false impression of having a valid input, as the user is not presented with any feedback.</p>
  
  <p>Is there any way to keep the class "md-not-found", even after you unfocus the input element?</p>
  
  <p>md-autocomplete official demo: <a href="https://material.angularjs.org/latest/demo/autocomplete" rel="nofollow">https://material.angularjs.org/latest/demo/autocomplete</a></p>
  
  <p><strong>Update</strong></p>
  
  <p>I have made a temporary solution:</p>
  
  <pre><code>&lt;label class="{{selectedItem !== null || searchText === '' ? '' : 'label-error'}}"&gt;Name&lt;/label&gt;
  </code></pre>
  
  <p>The label-error class applies a red color.</p>
  
  <p>The solution is not an answer to the question per se, but offers an alternative quick fix</p>