title: Angular 2 ngModel value not updating fast enough using ionic
body: <p>I have a <code>ion-searchbar</code> that looks like this</p>
  
  <pre><code>&lt;ion-searchbar [(ngModel)]="searchQuery" (keyup.enter)="search();"&gt;&lt;/ion-searchbar&gt;
  </code></pre>
  
  <p>and the <code>searchQuery</code> is defined in my typescript file like this</p>
  
  <pre><code>export class SearchPage {
    searchQuery: string; 
  
    constructor(){}
  
    search() {
     this.service.search(this.searchQuery).subscribe(
       data =&gt; this.searchResults = data,
       error =&gt; {
         //something
       }, () =&gt; {
         //something
       }
     );
    }
   }
  </code></pre>
  
  <p>The problem is that if I change the value too fast and I press Enter, the value of <code>searchQuery</code> is not updated. For example, if I search "test" and I wait two seconds it will work. If I then search "testing" and I type it fast and press Enter right away, the value will still be "test". Now, I know this sounds weird, but it is really happening!</p>
  
  <p>Any ideas why the value is not changed as soon as I type something?</p>
  
  <p>Thank you</p>