title: The Input field in a SAPUI5 Application loses its focus
body: <p>In our SAPUI5 application we have an Input field in a pages header that looses its focus.</p>
  
  <p>To explain it in more detail. We have an initial view where the user enters some values. On accepting the values the application goes to the next view.</p>
  
  <p>So what we want to do is set the focus to the input field in that view. We used the following code to achieve that:</p>
  
  <pre><code>jQuery.sap.delayedCall(500, this, function() {
      this.getView().byId("idInput").focus();
   });
  </code></pre>
  
  <p>This works fine for our inital view. On the following views though you can see the focus is set properly but the very next moment it is lost.</p>
  
  <p>How can I keep the focus on that input field?</p>
  
  <p>See:
  <a href="https://stackoverflow.com/questions/33166242/sapui5-set-focus-on-input-field">SAPUI5 Set Focus on Input Field</a></p>