title: angular 5 ngModelOptions updateOn multipile events
body: <p>I want my input model updated with more than one event:
  for now, I have seen that angular 5 support one event for example - [ngModelOptions]={updateOn:'blur'}.</p>
  
  <p>Can I have more than one for example: [ngModelOptions]={updateOn:'blur submit'}</p>
  
  <p>I think this is supported in angular 1.</p>
  
  <p><strong>soultion</strong></p>
  
  <p>I want to update the modal on two events - blur and submit:</p>
  
  <ol>
  <li>I use [ngModelOptions]={updateOn:'blur'} - this will update the modal on blur.</li>
  <li>Once the user will press enter - I will blur from the input. I did this with a directive on the form tag:</li>
  </ol>
  
  <p>10x to Itay b.m for the directive!!</p>
  
  <pre><code>@Directive({
  
      selector: '[enterEvent]',   
  
      host: { '(keypress)': 'onkeydown($event)'}
  
  })
  
  export class EnterEventDirective {
  
      constructor() {      
  
      }  
  
      onkeydown(event) {     
  
          if (event.key == "Enter") {           
  
              event.target.blur();
  
          }
  
      }
  
  }
  </code></pre>